(self)
| 413 | |
| 414 | @test_util.run_gpu_only |
| 415 | def testInt32GPU(self): |
| 416 | with ops.device('gpu:0'): |
| 417 | xent = nn_ops.sparse_softmax_cross_entropy_with_logits( |
| 418 | logits=[[0.0, 0.0]], labels=[0]) |
| 419 | self.assertAllClose(xent, [0.69314718]) |
| 420 | |
| 421 | def _runInThread(self, target, args): |
| 422 | t = threading.Thread(target=target, args=args) |
nothing calls this directly
no test coverage detected