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

Method test_reduceSum_gpu

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

Source from the content-addressed store, hash-verified

1693
1694 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1695 def test_reduceSum_gpu(self):
1696 self._reduceSum_helper(gpu_dev)
1697
1698 def _reduceMean_helper(self, dev):
1699 X = np.random.randn(3, 4, 5).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_reduceSum_helperMethod · 0.95

Tested by

no test coverage detected