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

Method test_unsqueeze_cpu

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

Source from the content-addressed store, hash-verified

1770 tensor.to_numpy(y_t[0]).shape)
1771
1772 def test_unsqueeze_cpu(self):
1773 self._unsqueeze_helper(cpu_dev)
1774
1775 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1776 def test_unsqueeze_gpu(self):

Callers

nothing calls this directly

Calls 1

_unsqueeze_helperMethod · 0.95

Tested by

no test coverage detected