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

Method test_Relu_gpu

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

Source from the content-addressed store, hash-verified

744
745 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
746 def test_Relu_gpu(self):
747 self._Relu_helper(gpu_dev)
748
749 def _Cos_helper(self, dev):
750 X = np.array([0.8, -1.2, 3.3, -3.6, -0.5,

Callers

nothing calls this directly

Calls 1

_Relu_helperMethod · 0.95

Tested by

no test coverage detected