pytorch
604e1b30 - Fix negative column numbers for the torch.eye (#46841)

Commit
4 years ago
Fix negative column numbers for the torch.eye (#46841) Summary: Fixes https://github.com/pytorch/pytorch/issues/46757 Error out the negative column numbers and add the corresponding tests in the `test/test_tensor_creation_ops.py`. Pull Request resolved: https://github.com/pytorch/pytorch/pull/46841 Reviewed By: VitalyFedyunin Differential Revision: D24593839 Pulled By: ngimel fbshipit-source-id: b8988207911453de7811cf3ceb43747192cd689d
Parents
Loading