pytorch
21ec2884 - Fix error_inputs for linalg.lstsq; assert SampleInput args are tuple (#83004)

Commit
2 years ago
Fix error_inputs for linalg.lstsq; assert SampleInput args are tuple (#83004) Similar to #82984, this PR fixes the error inputs for linalg.lstsq. It also also asserts that SampleInput's args must be a tuple and kwargs (after handling None) must be a dict, and fixes one other sample input. Pull Request resolved: https://github.com/pytorch/pytorch/pull/83004 Approved by: https://github.com/Chillee
Author
Committer
Parents
Loading