Skip to content
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

Support "In place" computation in operator unit test #5842

Closed
zhouxiao-coder opened this issue Nov 22, 2017 · 0 comments
Closed

Support "In place" computation in operator unit test #5842

zhouxiao-coder opened this issue Nov 22, 2017 · 0 comments

Comments

@zhouxiao-coder
Copy link
Contributor

OpTest in op_test.py is currently the base class of all operator unit tests, and it doesn't provide any method to specify certain input tensor and output tensor share the same memory, i.e. the operator does in place computation.

We should enhance this to support easier unit test of operators like batch normalization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants