-
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
Add unittest for FillZerosLikeOp #3142
Add unittest for FillZerosLikeOp #3142
Conversation
import numpy | ||
|
||
|
||
class TestFillZerosLikeOp(unittest.TestCase): |
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.
请参考现有Op Python单测,用测试框架写单测
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! need to fix the conflict before merge.
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++
… dev_add_FillZerosLikeOp_test
… dev_add_FillZerosLikeOp_test
… dev_add_FillZerosLikeOp_test
… dev_add_FillZerosLikeOp_test
Add unittest for
FillZerosLikeOp
, which is used inBackward
.