-
Notifications
You must be signed in to change notification settings - Fork 240
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
Update references #3058
Update references #3058
Conversation
@openvinotoolkit/nncf-maintainers, can someone review this, please. Thank you. |
@@ -1023,7 +1023,7 @@ def _create_ov_model(self, is_int8=False, with_multiply=False, n_layers=8): | |||
alpha = np.array([1.5], dtype=np.float32) | |||
alpha = opset.constant(alpha, dtype=np.float32) | |||
lambda_value = np.array([1.5], dtype=np.float32) | |||
lambda_value = opset.constant(alpha, dtype=np.float32) | |||
lambda_value = opset.constant(lambda_value, dtype=np.float32) |
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.
@andreyanufr, could you comment please, was the lambda value replaced by alpha intentionally or by mistake? With the newest OV version, it causes the issue TypeError: The necessary overload for constant was not found
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 was mistake. I think we can use lambda_value = opset.constant(lambda_value, dtype=np.float32) or remove lambda_value = np.array([1.5], dtype=np.float32). Both changes are valid.
Changes
Reason for changes
Related tickets
Tests