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

Method test_linear_gpu

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

Source from the content-addressed store, hash-verified

360
361 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
362 def test_linear_gpu(self):
363 self._linear_helper(gpu_dev)
364
365 def _gemm_helper(self, dev):
366 A = np.random.randn(2, 3).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_linear_helperMethod · 0.95

Tested by

no test coverage detected