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

Method test_Pow_gpu

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

Source from the content-addressed store, hash-verified

1232
1233 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1234 def test_Pow_gpu(self):
1235 self._Pow_helper(gpu_dev)
1236
1237 def _SoftSign_helper(self, dev):
1238 # y = x / (1 + np.abs(x))

Callers

nothing calls this directly

Calls 1

_Pow_helperMethod · 0.95

Tested by

no test coverage detected