Peter Bell
7656ef73f1
Move torch.special OpInfos into opinfo/definitions/special.py ( #83762 )
...
Ref #82518
As with `linalg` this doesn't include ops with an alias in special,
only the ones where `special.foo` is the actual name of the opinfo.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/83762
Approved by: https://github.com/albanD
2022-08-22 19:08:41 +00:00
Peter Bell
ae68e455be
Enable formatting in all of testing/_internal/opinfo ( #83559 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/83559
Approved by: https://github.com/albanD
2022-08-19 12:25:57 +00:00
PyTorch MergeBot
61b2cde527
Revert "Enable formatting in all of testing/_internal/opinfo ( #83559 )"
...
This reverts commit a7e6196909 .
Reverted https://github.com/pytorch/pytorch/pull/83559 on behalf of https://github.com/peterbell10 due to Stack broke lint
2022-08-19 02:27:03 +00:00
Peter Bell
a7e6196909
Enable formatting in all of testing/_internal/opinfo ( #83559 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/83559
Approved by: https://github.com/albanD
2022-08-19 01:49:45 +00:00
Peter Bell
4d405517e4
Move OpInfo class into new opinfo folder ( #82540 )
...
Ref #82518
Starting small to minimize merge conflicts, this moves the top-level
class definitions and some helper functions into the `opinfos` folder.
It also brings `common_methods_invocations.py` to just below 1MB.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82540
Approved by: https://github.com/albanD
2022-08-05 15:10:17 +00:00