Named inference rule for more pointwise ops. (#22268)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22268
ghimport-source-id: c722f9fbb3fc529c872dcccbf58ba1a8c5fcda8e
Test Plan:
- `python test/test_namedtensor.py -v` [namedtensor ci]
Imported from OSS
Differential Revision: D16030549
Pulled By: zou3519
fbshipit-source-id: 5cbb2c8626335a32a22ed8079245a5faa7cf553f