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

Method test_prelu_gpu

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

Source from the content-addressed store, hash-verified

1915
1916 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1917 def test_prelu_gpu(self):
1918 self._prelu_helper(gpu_dev)
1919
1920 def _SeLU_helper(self, dev):
1921 x = np.random.randn(3, 2)

Callers

nothing calls this directly

Calls 1

_prelu_helperMethod · 0.95

Tested by

no test coverage detected