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

Method test_or_gpu

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

Source from the content-addressed store, hash-verified

1997
1998 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1999 def test_or_gpu(self):
2000 self._or_helper(gpu_dev)
2001
2002 def _not_helper(self, dev):
2003 x = np.array([1.0, -1.0, 0, -0.1, 0,

Callers

nothing calls this directly

Calls 1

_or_helperMethod · 0.95

Tested by

no test coverage detected