forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FRONTEND] Remove unnecessary Reshapes in PyTorch Conv1D conversion (o…
…penvinotoolkit#26960) [FRONTEND] Remove unnecessary Reshapes in PyTorch Conv1D conversion PyTorch's Conv1D operation utilizes additional reshaping in its implementation because torch.addmm() doesn't support tensors with rank higher than 2. Remove unnecessary Reshapes in PyTorch's Conv1D conversion as OpenVINO's MatMul supports tensors with rank higher than 2. This should reduce the number of nodes in a graph and potentially improve performance. - Tickets: * CVS-150872
- Loading branch information
1 parent
7d5b7cf
commit f1ef55d
Showing
2 changed files
with
8 additions
and
13 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