MCPcopy Create free account
hub / github.com/apache/singa / test_Log_gpu

Method test_Log_gpu

test/python/test_operation.py:1451–1452  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1449
1450 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1451 def test_Log_gpu(self):
1452 self._Log_helper(gpu_dev)
1453
1454 def _mul_helper(self, dev):
1455 x = np.array([0.1, -1.0, 0.4, 4.0, -0.9,

Callers

nothing calls this directly

Calls 1

_Log_helperMethod · 0.95

Tested by

no test coverage detected