(self)
| 301 | class EagerFunctionTest(xla_test.XLATestCase): |
| 302 | |
| 303 | def testBasic(self): |
| 304 | with self.test_scope(): |
| 305 | matmul = function.defun(math_ops.matmul) |
| 306 | t = constant_op.constant([[1.0, 2.0], [3.0, 4.0]]) |
| 307 | sq = matmul(t, t, transpose_a=True) |
| 308 | self.assertAllEqual(sq.numpy().reshape(-1), [10, 14, 14, 20]) |
| 309 | |
| 310 | def testConv(self): |
| 311 | if 'GPU' in self.device: |
nothing calls this directly
no test coverage detected