3e5f67ba78d7bdfd64735a0679a488613b1b6fc9,tests/conversion/onnx_layer_test_cases.py,ONNXLayerTestCases,test_Transpose,#ONNXLayerTestCases#,811
Before Change
// pass
def test_Transpose(self):
self._test_from_caffe2(self.get_unary_network_function("Transpose"))
self._test_from_caffe2(self.get_unary_network_function("Transpose", kwargs=dict(axes=[3, 2, 0, 1])))
def test_Unsqueeze(self):
g = ONNXGraph("test_network")
After Change
// def test_TopK(self):
// pass
def test_Transpose(self):
self._test(self._unary("Transpose", shape=[1, 2, 3, 4], out_shape=[4, 3, 2, 1]))
self._test(
self._unary("Transpose", shape=[1, 2, 3, 4], out_shape=[4, 3, 1, 2], attribs=dict(perm=[3, 2, 0, 1])))
def test_Unsqueeze(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: KhronosGroup/NNEF-Tools
Commit Name: 3e5f67ba78d7bdfd64735a0679a488613b1b6fc9
Time: 2019-04-17
Author: tamas.danyluk2@gmail.com
File Name: tests/conversion/onnx_layer_test_cases.py
Class Name: ONNXLayerTestCases
Method Name: test_Transpose
Project Name: KhronosGroup/NNEF-Tools
Commit Name: 3e5f67ba78d7bdfd64735a0679a488613b1b6fc9
Time: 2019-04-17
Author: tamas.danyluk2@gmail.com
File Name: tests/conversion/onnx_layer_test_cases.py
Class Name: ONNXLayerTestCases
Method Name: test_Transpose
Project Name: KhronosGroup/NNEF-Tools
Commit Name: 3e5f67ba78d7bdfd64735a0679a488613b1b6fc9
Time: 2019-04-17
Author: tamas.danyluk2@gmail.com
File Name: tests/conversion/onnx_layer_test_cases.py
Class Name: ONNXLayerTestCases
Method Name: test_Size
Project Name: KhronosGroup/NNEF-Tools
Commit Name: 3e5f67ba78d7bdfd64735a0679a488613b1b6fc9
Time: 2019-04-17
Author: tamas.danyluk2@gmail.com
File Name: tests/conversion/onnx_layer_test_cases.py
Class Name: ONNXLayerTestCases
Method Name: test_Shape