-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stride
MatmulOp
according to set allocation domain (#3447)
Resolves Issue #2427. If the `MatmulOp` has a stride order set from python frontend (`fd.ops.add_output/fd.ops.stride_order`), returns a copy of the output with the specified memory_layout. `at::matmul_out` is not used since it does not allow inputs/outputs which require gradients. https://github.com/pytorch/pytorch/blob/1f3d8896bc9cea7f46c50ff92b69c6aa139defcb/aten/src/ATen/native/LinearAlgebra.cpp#L2018-L2025 --------- Co-authored-by: Jingyue Wu <wujingyue@gmail.com>
- Loading branch information
Showing
2 changed files
with
71 additions
and
2 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