pytorch/torch/_refs
SS-JIA 7de669f2f9 [core IR] Remove trunc decomp and add trunc to core (#109902)
Following up from [this comment](https://github.com/pytorch/pytorch/pull/109319#discussion_r1330803226). Remove the decomposition for `trunc`, and add it as a core operator.

Going forward, provide similar treatment for operators that map cleanly to hardware instructions.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/109902
Approved by: https://github.com/peterbell10
2023-09-25 18:18:06 +00:00
..
linalg Add reference for linalg.vecdot (#108188) 2023-08-31 15:30:23 +00:00
nn Decomp for aten.dropout (#106274) 2023-08-23 21:12:37 +00:00
special Replace _prims_common.check with torch._check* (#103240) 2023-06-21 00:46:17 +00:00
__init__.py [core IR] Remove trunc decomp and add trunc to core (#109902) 2023-09-25 18:18:06 +00:00
_conversions.py Replace _prims_common.check with torch._check* (#103240) 2023-06-21 00:46:17 +00:00
fft.py decomposition spectral ops fixes (#108360) 2023-09-09 04:48:09 +00:00