-
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
[TF FE] Support Div operation for TensorFlow #21730
Conversation
I have modified |
Hi @sami0i, Sorry for the delay. I see that you have failures in the layer tests for Best regards, |
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 address comment I left
Hi @rkazants, |
Let us use |
build_jenkins |
Hi @sami0i, Unfortunatelly, it still fails due to inference results mismatch between TF and OV:
Could you please investigate the logic for Best regards, |
Hi @rkazants It appears that the error occurred only when calculating the |
Best regards, |
Hi @rkazants, I've modified |
build_jenkins |
Let us make sure that tests for Best regards, |
Hi @rkazants I think It appears that The solution that I think could be correct is to initially convert integer and signed inputs to floats. After calculating the division, we can then return the floor for positive values and the ceiling for negative values. Finally, we can convert the result back to an integer type. |
Hi @sami0i, It is a bug of OV that we have inconsistency for this op across different systems. Now I marked Regarding your proposal to use floating-point type, we may have a problem for big integers that some precision can be lost during conversion to float. Best regards, |
@sami0i, you are correct that Divide behaves inconsistently on different systems including both Windows and Linux. So I marked |
build_jenkins |
build_jenkins |
Details:
Tickets: