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

Method test_mean_gpu

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

Source from the content-addressed store, hash-verified

1185
1186 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1187 def test_mean_gpu(self):
1188 self._mean_helper(gpu_dev)
1189
1190 def _pow_helper(self, dev):
1191 x0 = np.array([7, 5, 0.2, 0.1, 0.3, 4]).reshape(3, 2).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_mean_helperMethod · 0.95

Tested by

no test coverage detected