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

Method test_relu_gpu

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

Source from the content-addressed store, hash-verified

100
101 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
102 def test_relu_gpu(self):
103 self._relu_helper(gpu_dev)
104
105 def _avg_pool_helper(self, dev):
106 x = tensor.Tensor(shape=(2, 3, 3, 3), device=dev)

Callers

nothing calls this directly

Calls 1

_relu_helperMethod · 0.95

Tested by

no test coverage detected