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

Method test_softplus_gpu

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

Source from the content-addressed store, hash-verified

1125
1126 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1127 def test_softplus_gpu(self):
1128 self._softplus_helper(gpu_dev)
1129
1130 def _softsign_helper(self, dev):
1131 x = np.array([-0.9, -0.3, -0.1, 0.1, 0.5,

Callers

nothing calls this directly

Calls 1

_softplus_helperMethod · 0.95

Tested by

no test coverage detected