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

Method test_not_gpu

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

Source from the content-addressed store, hash-verified

1558
1559 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1560 def test_not_gpu(self):
1561 self._not_helper(gpu_dev)
1562
1563 def _negative_helper(self, dev):
1564 X = np.array([0.1, 0, 0.4, 1. - 4, 0.9,

Callers

nothing calls this directly

Calls 1

_not_helperMethod · 0.95

Tested by

no test coverage detected