-
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
Delete check that ReadValue/Assign operations have to be in pair in ov::Model #23051
Delete check that ReadValue/Assign operations have to be in pair in ov::Model #23051
Conversation
@@ -220,11 +220,6 @@ void ov::Model::prerequirements(bool detect_variables, bool detect_parameters) { | |||
void ov::Model::validate_nodes_and_infer_types() const { |
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.
is it possible to add a test with a graph when this check is not needed?
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 agree, we need to double check if we have these tests or not but not in this PR
…v::Model (openvinotoolkit#23051) ### Details: If ReadValue and Assign are not paired in model topology we have "Model is incorrect. Assign and ReadValue operations must be in pairs on the network." Check for ReadValue-Assign pairs is useless and it is an obstacle for model transformation debugging. Moreover, with more advanced techniques of state modification there can be other ops (custom ones) that modify state in place. ### Tickets: - *CVS-133159*
…v::Model (openvinotoolkit#23051) ### Details: If ReadValue and Assign are not paired in model topology we have "Model is incorrect. Assign and ReadValue operations must be in pairs on the network." Check for ReadValue-Assign pairs is useless and it is an obstacle for model transformation debugging. Moreover, with more advanced techniques of state modification there can be other ops (custom ones) that modify state in place. ### Tickets: - *CVS-133159*
Details:
If ReadValue and Assign are not paired in model topology we have "Model is incorrect. Assign and ReadValue operations must be in pairs on the network."
Check for ReadValue-Assign pairs is useless and it is an obstacle for model transformation debugging. Moreover, with more advanced techniques of state modification there can be other ops (custom ones) that modify state in place.
Tickets: