(self)
| 41 | |
| 42 | @test_util.run_in_graph_and_eager_modes |
| 43 | def testReduceAllDims(self): |
| 44 | x = np.array([[1, 2, 3], [4, 5, 6]], dtype=np.int32) |
| 45 | with test_util.device(use_gpu=True): |
| 46 | y_tf = self.evaluate(math_ops.reduce_sum(x)) |
| 47 | self.assertEqual(y_tf, 21) |
| 48 | |
| 49 | def testReduceExtendType(self): |
| 50 | in_f32 = np.random.randn(1000, 1000).astype(np.float32) |
nothing calls this directly
no test coverage detected