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

Method test_sigmoid_gpu

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

Source from the content-addressed store, hash-verified

174
175 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
176 def test_sigmoid_gpu(self):
177 self._sigmoid_helper(gpu_dev)
178
179 def _add_helper(self, dev):
180 X1 = np.random.randn(3, 4, 5).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_sigmoid_helperMethod · 0.95

Tested by

no test coverage detected