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

Method test_squeeze_gpu

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

Source from the content-addressed store, hash-verified

1703
1704 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1705 def test_squeeze_gpu(self):
1706 self._squeeze_helper(gpu_dev)
1707
1708 def _shape_helper(self, dev):
1709 x = np.array([0.1, -1.0, 0.4, 4.0, -0.9,

Callers

nothing calls this directly

Calls 1

_squeeze_helperMethod · 0.95

Tested by

no test coverage detected