forked from llvm/torch-mlir
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TorchToLinalg] Add
aten.fft_rfft
and lowering (llvm#3857)
- Add `AtenFftRfftOp` to Torch dialect. - Add conversion of `AtenFftRfftOp` to Linalg, using a `linalg.matmul` per output component (real and imaginary). Computing the DFT is _O(n^2)_. - Add decomposition of `AtenFftRfftOp` into Torch-level ops (same paradigm as above). - Add unit and end-to-end tests.
- Loading branch information
1 parent
4498569
commit 46a5772
Showing
12 changed files
with
646 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.