-
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.
Eliminate nop Convert at the beginning of the MOC pipeline (#26872)
### Details: Added NopElimination at the beginning of the MOC After pytorch conversion, we can see useless Convert (fp32 to fp32) in the graph ``` Constant (fp32) -> Node1 -> Convert( to fp32) -> Node2 ``` So after ConstantFolding, we will get ``` Constant (fp32) -> Node1 Constant (fp32) -> Node2 ``` Deletion of the convert above fixes the duplication of the constant ### Tickets: - *CVS-151490*
- Loading branch information
Showing
2 changed files
with
17 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