-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Open
Labels
module: testingIssues related to the torch.testing module (not tests)Issues related to the torch.testing module (not tests)trackerA tracking issueA tracking issuetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
This issue tracks progress and features related to make_tensor. This is in the direction of exposing it to the users, and hence a tracker to invite discussions/inputs as well as document progress.
Features Tracker
- Fix inputs
low/highgiven: don't clamp to default values when given valid values. (being pursued in Fixing user inputs for low, high inmake_tensor#61108) - Investigate tensor generation strategy. (being pursued in Fixing user inputs for low, high in
make_tensor#61108) - Generic
exclude_valuesandinclude_valuesfor tensor generation. - Add
include_percentlike argument to populate the output with given percent ofinclude_valuesfrom the 3rd task. - Add
include_lhs(default True) andinclude_rhs(default False) to the function. - Document
make_tensor
Description
make_tensor is planned (and expected) to go public to the user API in coming releases. The idea behind make_tensor is to allow generation of tensors with random (currently: uniformly distributed) values for given dtype and device. Keeping the user's requirements in mind as well as the extensive use of make_tensor in the PyTorch test suite, this issue is supposed to document the progress as well as invite discussions on the features listed above.
Metadata
Metadata
Assignees
Labels
module: testingIssues related to the torch.testing module (not tests)Issues related to the torch.testing module (not tests)trackerA tracking issueA tracking issuetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module