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

Method test_HardSigmoid_gpu

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

Source from the content-addressed store, hash-verified

1878
1879 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1880 def test_HardSigmoid_gpu(self):
1881 self._HardSigmoid_helper(gpu_dev)
1882
1883 def _prelu_helper(self, dev):
1884 x = np.random.randn(3, 2)

Callers

nothing calls this directly

Calls 1

_HardSigmoid_helperMethod · 0.95

Tested by

no test coverage detected