-
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
[CPU] Introduce ov::is_type_any_of for chaining ov::is_type calls #29102
base: master
Are you sure you want to change the base?
Conversation
2f5f961
to
9467343
Compare
src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.cpp
Outdated
Show resolved
Hide resolved
src/plugins/intel_cpu/src/transformations/snippets/aarch64/pass/snippets_mark_skipped.cpp
Outdated
Show resolved
Hide resolved
8844a0b
to
6e3d637
Compare
1bc13e6
to
446cbf1
Compare
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.
ok for core part
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.
do we need a special header for a single function?
I suppose existing openvino/core/type.hpp
is a good home for this function
UPD: I saw that it was recommended to put into Dev API, but IMO this function is harmless to be in public API. It's just a useful util
Details:
ov::is_type_any_of
that chainsov::is_type
calls for better code readabilityTickets: