Files
pytorch/test/expect/TestTorch.test_is_nonzero-empty.expect
Hong Xu 336e1ec592 Clean up error handling in is_nonzero and where in TensorCompare.cpp (#38150)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/38150

Differential Revision: D21539736

Pulled By: ezyang

fbshipit-source-id: e390c12f5948192a552d66dcd1bb89b2cb45f170
2020-05-13 20:19:40 -07:00

1 line
51 B
Plaintext

Boolean value of Tensor with no values is ambiguous