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

Method test_LeakyRelu_gpu

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

Source from the content-addressed store, hash-verified

712
713 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
714 def test_LeakyRelu_gpu(self):
715 self._LeakyRelu_helper(gpu_dev)
716
717 def _Relu_helper(self, dev):
718 X = np.array([0.8, -1.2, 3.3, -3.6, -0.5,

Callers

nothing calls this directly

Calls 1

_LeakyRelu_helperMethod · 0.95

Tested by

no test coverage detected