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

Method test_sum_gpu

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

Source from the content-addressed store, hash-verified

451
452 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
453 def test_sum_gpu(self):
454 self._sum_helper(gpu_dev)
455
456 def _Cos_helper(self, dev):
457 x = np.array([0.1, -1.0, 0.4, 4.0, -0.9,

Callers

nothing calls this directly

Calls 1

_sum_helperMethod · 0.95

Tested by

no test coverage detected