Support "In place" computation in operator unit test
Created by: zhouxiao-coder
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.