-
Notifications
You must be signed in to change notification settings - Fork 74k
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
Fix checkfail with -ve perm values in transpose_op.cc #63064
base: master
Are you sure you want to change the base?
Conversation
Passing negative values to argument perm in tf.raw_ops.Transpose will cause checkfail and coredump error. Hence validation proposed to check and raise exception. Ref issue #62995
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.
Thank you for the changes! Just some minor comments to adhere to the c++ style guide.
Updated as suggested to adhere c++ standard
Hi @SuryanarayanaY Can you please check @mihaimaruseac's comments ? Thank you! |
Local variable created outside loop.
Done the changes proposed. |
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.
Thank you
Updated TF error wrapper with absl
Replaced if check with OP_REQUIRES as the function is void type.
Hi @SuryanarayanaY Can you please check @mihaimaruseac's comments ? Thank you! |
This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. |
Not stale. The PR has been amended. |
Not changed since last approval. It still fails internally |
Passing negative values to argument perm in tf.raw_ops.Transpose will cause checkfail and coredump error. Hence validation proposed to check and raise exception.
Ref issue #62995