-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CPU] Transpose insertion before FC in ConvertMatMulToFC (#28401)
### Details (Updated): - *Previously, if `MatMul` has `transposed_b=false` and decompressed convert on weights, the pass `ConvertMatMulToFC` inserted `Transpose` before this `Convert`. It means that if `Convert` has another consumer (`Result` or even `MatMul` with `transposed=true`), the inserted `Transpose` could break the shapes of `Convert` consumers (please see details in the mentioned ticket). The current PR inserts `Transpose` after existing `Convert` and updates CPUGraph-pass `FuseFCAndConvertOnWeights`.* ### Tickets: - *160215*
- Loading branch information
1 parent
3ee2339
commit 3caf7b2
Showing
4 changed files
with
181 additions
and
35 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