Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use torch.all to check tensor equality (facebookincubator#1008)
Summary: Pull Request resolved: facebookincubator#1008 When the tensor contains 0 or >=2 elements, this check will fail. Reviewed By: muchulee8 Differential Revision: D57636627 fbshipit-source-id: ee668e63fc1944f89a6a85a9cb883fe1588ac4a4
- Loading branch information