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

Method test_negative_gpu

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

Source from the content-addressed store, hash-verified

1586
1587 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1588 def test_negative_gpu(self):
1589 self._negative_helper(gpu_dev)
1590
1591 def _reciprocal_helper(self, dev):
1592 X = np.array([0.1, 0, 0.4, 1. - 4, 0.9,

Callers

nothing calls this directly

Calls 1

_negative_helperMethod · 0.95

Tested by

no test coverage detected