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

Method test_Tan_gpu

test/python/test_onnx.py:583–584  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

581
582 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
583 def test_Tan_gpu(self):
584 self._Tan_helper(gpu_dev)
585
586 def _Tanh_helper(self, dev):
587 x = np.array([0.1, -1.0, 0.4, 4.0, -0.9,

Callers

nothing calls this directly

Calls 1

_Tan_helperMethod · 0.95

Tested by

no test coverage detected