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

Method test_constantOfShape_gpu

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

Source from the content-addressed store, hash-verified

1639
1640 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1641 def test_constantOfShape_gpu(self):
1642 self._constantOfShape_helper(gpu_dev)
1643
1644 def _dropout_helper(self, dev):
1645 X = np.random.randn(3, 4, 5).astype(np.float32)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected