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

Method test_SeLU_gpu

test/python/test_operation.py:1949–1950  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1947
1948 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1949 def test_SeLU_gpu(self):
1950 self._SeLU_helper(gpu_dev)
1951
1952 def _and_helper(self, dev):
1953 x0 = np.array([0, -0.3, -0.1, 0.1, 0.5,

Callers

nothing calls this directly

Calls 1

_SeLU_helperMethod · 0.95

Tested by

no test coverage detected