pytorch
fcc1f87b - Fixing user inputs for low, high in `make_tensor` (#61108)

Commit
3 years ago
Fixing user inputs for low, high in `make_tensor` (#61108) Summary: **TODOs:** * [x] Do not clamp inputs for low and high when given and valid. * [x] Devise rules for modifying `low` and `high` when extremals/invalid values passed. * [x] Testing with `test_references_numerics_hard` with the revised changes. _(I've tested locally, the changes will take place in a separate PR though after offline discussion with mruberry)_ * [x] Revise comments/documentation for `make_tensor` See https://github.com/pytorch/pytorch/issues/61758 for tracker issue. cc: mruberry pmeier Pull Request resolved: https://github.com/pytorch/pytorch/pull/61108 Reviewed By: VitalyFedyunin Differential Revision: D30296167 Pulled By: mruberry fbshipit-source-id: 67e8d15b173209a9c97ca013231494a5fa99f8c7
Author
Parents
Loading