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

Method test_unsqueeze_gpu

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

Source from the content-addressed store, hash-verified

1774
1775 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1776 def test_unsqueeze_gpu(self):
1777 self._unsqueeze_helper(gpu_dev)
1778
1779 def _slice_helper(self, dev):
1780 X = np.random.randn(20, 10, 5).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_unsqueeze_helperMethod · 0.95

Tested by

no test coverage detected