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

Method test_unsqueeze_gpu

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

Source from the content-addressed store, hash-verified

1329
1330 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1331 def test_unsqueeze_gpu(self):
1332 self._unsqueeze_helper(gpu_dev)
1333
1334 def _Sqrt_helper(self, dev):
1335 X = np.array([0.1, 1.0, 0.4, 4.0, 0.9,

Callers

nothing calls this directly

Calls 1

_unsqueeze_helperMethod · 0.95

Tested by

no test coverage detected