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

Method test_clip_gpu

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

Source from the content-addressed store, hash-verified

1247
1248 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1249 def test_clip_gpu(self):
1250 self._clip_helper(gpu_dev)
1251
1252 def _prelu_helper(self, dev):
1253 x = np.array([0.1, -1.0, -0.4, 4.0, -0.9,

Callers

nothing calls this directly

Calls 1

_clip_helperMethod · 0.95

Tested by

no test coverage detected