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

Method test_tile_gpu

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

Source from the content-addressed store, hash-verified

1878
1879 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1880 def test_tile_gpu(self):
1881 self._tile_helper(gpu_dev)
1882
1883 def _nonzero_helper(self, dev):
1884 X = np.array([[1, 0], [1, 1]]).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_tile_helperMethod · 0.95

Tested by

no test coverage detected