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

Method test_nonzero_cpu

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

Source from the content-addressed store, hash-verified

1900 tensor.to_numpy(y_t[0]).shape)
1901
1902 def test_nonzero_cpu(self):
1903 self._nonzero_helper(cpu_dev)
1904
1905 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1906 def test_nonzero_gpu(self):

Callers

nothing calls this directly

Calls 1

_nonzero_helperMethod · 0.95

Tested by

no test coverage detected