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

Method test_slice_cpu

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

Source from the content-addressed store, hash-verified

1797 tensor.to_numpy(y_t[0]).shape)
1798
1799 def test_slice_cpu(self):
1800 self._slice_helper(cpu_dev)
1801
1802 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1803 def test_slice_gpu(self):

Callers

nothing calls this directly

Calls 1

_slice_helperMethod · 0.95

Tested by

no test coverage detected