pytorch
090af4aa - add proper tests for torch.testing.make_tensor (#96331)

Commit
1 year ago
add proper tests for torch.testing.make_tensor (#96331) We had some minimal tests for `torch.testing.make_tensor` before, but nothing exhaustive. This lead to quite few edge cases being undetected. This PR adds comprehensive tests and leaves a few FIXMEs in there for behavior that needs to be fixed in `make_tensor`. This will happen in later commits of this stack. Meaning, at the end of this stack, there shouldn't be any FIXME left in the tests added here. Pull Request resolved: https://github.com/pytorch/pytorch/pull/96331 Approved by: https://github.com/mruberry
Author
Committer
Parents
Loading