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

Method test_negative_gpu

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

Source from the content-addressed store, hash-verified

2073
2074 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
2075 def test_negative_gpu(self):
2076 self._negative_helper(gpu_dev)
2077
2078 def _reciprocal_helper(self, dev):
2079 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