-
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.
[TRANSFORMATIONS] Add ConvertLike to MVN decomposition
It may happen that a MultiSubGraph body may contain an MVN node that is usually decomposed into simpler operations. If during ConvertPrecision transformation the inputs of the MultiSubGraph body are converted to a different precision than the original model and MultiSubGraph had (as it's done in the GPU pipeline f32 -> f16), the desired precision for all the nodes appeared during decomposition will be propagated through. However this will not apply to Constants resulting into the error of mixed-precision for binary element-wise operations. Fix it by adding a ConvertLike for the Constant that will be folded and posses the correct desired precision. - Ticket: * CVS-158631 Signed-off-by: Andrii Staikov <[email protected]>
- Loading branch information
1 parent
45bf77b
commit 4d4d400
Showing
2 changed files
with
23 additions
and
12 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