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

Method test_Abs_gpu

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

Source from the content-addressed store, hash-verified

603
604 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
605 def test_Abs_gpu(self):
606 self._Abs_helper(gpu_dev)
607
608 def _Mean_helper(self, dev):
609 x0 = np.array([-0.9, -0.3, -0.1, 0.1, 0.5,

Callers

nothing calls this directly

Calls 1

_Abs_helperMethod · 0.95

Tested by

no test coverage detected