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

Method test_squeeze_gpu

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

Source from the content-addressed store, hash-verified

1747
1748 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1749 def test_squeeze_gpu(self):
1750 self._squeeze_helper(gpu_dev)
1751
1752 def _unsqueeze_helper(self, dev):
1753 X = np.random.randn(3, 2)

Callers

nothing calls this directly

Calls 1

_squeeze_helperMethod · 0.95

Tested by

no test coverage detected