-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Enabled test_matmul_v2_op for final state Eager Dygraph #39504
Enabled test_matmul_v2_op for final state Eager Dygraph #39504
Conversation
Thanks for your contribution! |
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.
LGTM
""" | ||
case 1 | ||
""" | ||
'\n case 1\n ' |
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.
why change this?
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.
Hmmm, it's a change from astunparse, let's sync offline.
|
||
def test_check_grad_normal(self): | ||
self.check_grad( | ||
['X', 'Y'], | ||
'Out', | ||
user_defined_grads=[self.grad_x, self.grad_y], | ||
user_defined_grad_outputs=[self.grad_out]) | ||
user_defined_grad_outputs=[self.grad_out], | ||
check_eager=False) |
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.
why check_eager is false here?
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.
We haven't supported Type Promotion at Dygraph level yet, so I turned of eager mode test for "test_check_grad_normal" and "test_check_grad_ignore_y" for now.
787ddde
to
71cc291
Compare
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.
LGTM
PR types
New features
PR changes
Others
Describe
Enabled test_matmul_v2_op for final state Eager Dygraph