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

Method test_xor_gpu

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

Source from the content-addressed store, hash-verified

2043
2044 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
2045 def test_xor_gpu(self):
2046 self._xor_helper(gpu_dev)
2047
2048 def _negative_helper(self, dev):
2049 X = np.array([0.1, 0, 0.4, 1. - 4, 0.9,

Callers

nothing calls this directly

Calls 1

_xor_helperMethod · 0.95

Tested by

no test coverage detected