-
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] Replace OPENVINO_ASSERT macros usage in nodes with CPU_NODE_ASSERT #28872
Conversation
CPU_NODE_ASSERT(baseDim != Shape::UNDEFINED_DIM, | ||
" Concat node: ", | ||
getName(), | ||
" can't use inPlace memory with concatenation on dynamic dimension"); |
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.
Please remove the node type and name from the message as it's incerted in the prefix (see CPU_NODE_ASSERT macro). Here and below.
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.
Done
@@ -571,21 +571,21 @@ void Split::resolveInPlaceEdges(Edge::LOOK look) { | |||
size_t numberOfOutputs = config.outConfs.size(); | |||
size_t inplaceInpIndx = selected_pd->getConfig().outConfs[0].inPlace(); | |||
auto baseDim = inputShapes.front().getDims()[axis]; | |||
OPENVINO_ASSERT(baseDim != Shape::UNDEFINED_DIM, | |||
CPU_NODE_ASSERT(baseDim != Shape::UNDEFINED_DIM, |
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.
Please remove the node name and type.
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.
Done
Details:
Tickets: