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

Method test_prelu_gpu

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

Source from the content-addressed store, hash-verified

1280
1281 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1282 def test_prelu_gpu(self):
1283 self._prelu_helper(gpu_dev)
1284
1285 def _mul_helper(self, dev):
1286 x = np.array([0.1, -1.0, 0.4, 4.0, -0.9,

Callers

nothing calls this directly

Calls 1

_prelu_helperMethod · 0.95

Tested by

no test coverage detected