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

Method test_xor_gpu

test/python/test_onnx.py:1532–1533  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1530
1531 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1532 def test_xor_gpu(self):
1533 self._xor_helper(gpu_dev)
1534
1535 def _not_helper(self, dev):
1536 x = np.array([1.0, -1.0, 0, -0.1, 0,

Callers

nothing calls this directly

Calls 1

_xor_helperMethod · 0.95

Tested by

no test coverage detected