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

Method test_identity_gpu

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

Source from the content-addressed store, hash-verified

1097
1098 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
1099 def test_identity_gpu(self):
1100 self._identity_helper(gpu_dev)
1101
1102 def _softplus_helper(self, dev):
1103 x = np.array([-0.9, -0.3, -0.1, 0.1, 0.5,

Callers

nothing calls this directly

Calls 1

_identity_helperMethod · 0.95

Tested by

no test coverage detected