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

Method test_softmax_gpu

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

Source from the content-addressed store, hash-verified

149
150 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
151 def test_softmax_gpu(self):
152 self._softmax_helper(gpu_dev)
153
154 def _sigmoid_helper(self, dev):
155 X = np.array([[-1, 0, 1]]).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_softmax_helperMethod · 0.95

Tested by

no test coverage detected