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

Method test_cast_cpu

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

Source from the content-addressed store, hash-verified

1926 tensor.to_numpy(y_t[0]).shape)
1927
1928 def test_cast_cpu(self):
1929 self._cast_helper(cpu_dev)
1930
1931 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1932 def test_cast_gpu(self):

Callers

nothing calls this directly

Calls 1

_cast_helperMethod · 0.95

Tested by

no test coverage detected