-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TransposeSinking refactoring: part 2 (class names, folders, file names) #16291
TransposeSinking refactoring: part 2 (class names, folders, file names) #16291
Conversation
…arate folder, align namespaces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment about naming and using additional namespace only for particular TS passes.
Other looks good to me
@@ -268,7 +268,7 @@ void FrontEnd::normalize(const std::shared_ptr<ov::Model>& function) const { | |||
manager.register_pass<ov::frontend::tensorflow_lite::pass::TFLQuantizeResolver>(); | |||
manager.register_pass<ov::frontend::tensorflow_lite::pass::Rfft2dSimplifier>(); | |||
manager.register_pass<ov::pass::TransposeSinking>(); | |||
manager.register_pass<ov::pass::TransposeSinkingGeneral>(); | |||
manager.register_pass<ov::pass::transpose_sinking::TSGeneral>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me ov::pass::TransposeSinking
looks better. You can include all particular TS passes into transpose_sinking
namespace and remain the main entry on pass
namespace.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately, we already have ov::pass::TransposeSinking (old common transformation), see line 270
We will be able to replace it in the next Release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see what about TransposeSinkingExtended
or TransposeSinkingAdvanced
names?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we can leave both options:
ov::pass::TransposeSinkingGeneral (the alias)
ov::pass::transpose_sinking::TSGeneral
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it will be fixed in the next PR
…s) (openvinotoolkit#16291) * Add descriptions to the transformations, add additional checks * fix a warning * TransposeSinking Rafactoring part2: move the transformations to a separate folder, align namespaces * TransposeSinking refactoring: class names, namespaces * codestyle * resolve merge conflicts
Details:
All TransposeSinking transformations and tests were moved to transformations/transpose_sinking folder
Introduced ov::pass::transpose_sinking namespace
Transformation classes were renamed: TransposeSinking* -> TS*
Transformation files were renamed: transpose_sinking_* -> ts_*
before: ______________________________________________after: _______________________________