(self, actual, expect)
| 47 | class TestPythonOnnx(unittest.TestCase): |
| 48 | |
| 49 | def check_shape(self, actual, expect): |
| 50 | self.assertEqual( |
| 51 | actual, expect, 'shape mismatch, actual shape is %s' |
| 52 | ' exepcted is %s' % |
| 53 | (_tuple_to_string(actual), _tuple_to_string(expect))) |
| 54 | |
| 55 | def _conv2d_helper(self, dev): |
| 56 | x = tensor.Tensor(shape=(2, 3, 3, 3), device=dev) |
no test coverage detected