Skip to content

Conversation

@ezyang
Copy link
Contributor

@ezyang ezyang commented Sep 27, 2018

You can't GetDeviceType an undefined tensor, so test for this case
first. This allows you to safely move tensors out of blobs.

Signed-off-by: Edward Z. Yang [email protected]

You can't GetDeviceType an undefined tensor, so test for this case
first.  This allows you to safely move tensors out of blobs.

Signed-off-by: Edward Z. Yang <[email protected]>
@ezyang ezyang requested a review from smessmer September 27, 2018 01:39
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ezyang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants