(self)
| 77 | def test_gpu(self): |
| 78 | with tf.device('/gpu:0'): |
| 79 | m1 = tf.constant([2.0, 3.0], shape=[1, 2], name='a') |
| 80 | m2 = tf.constant([3.0, 4.0], shape=[2, 1], name='b') |
| 81 | result = tf.matmul(m1, m2) |
| 82 | self.assertEqual([1, 1], result.shape) |
| 83 |
nothing calls this directly
no outgoing calls
no test coverage detected