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

Method test_HardSigmoid_cpu

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

Source from the content-addressed store, hash-verified

1874 decimal=5)
1875
1876 def test_HardSigmoid_cpu(self):
1877 self._HardSigmoid_helper(cpu_dev)
1878
1879 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1880 def test_HardSigmoid_gpu(self):

Callers

nothing calls this directly

Calls 1

_HardSigmoid_helperMethod · 0.95

Tested by

no test coverage detected