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

Method test_Tanh_gpu

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

Source from the content-addressed store, hash-verified

1064
1065 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1066 def test_Tanh_gpu(self):
1067 self._Tanh_helper(gpu_dev)
1068
1069 def _Atan_helper(self, dev):
1070 X = np.array([-0.9, -0.3, -0.1, 0.1, 0.5,

Callers

nothing calls this directly

Calls 1

_Tanh_helperMethod · 0.95

Tested by

no test coverage detected