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

Method test_Identity_gpu

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

Source from the content-addressed store, hash-verified

690
691 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
692 def test_Identity_gpu(self):
693 self._Identity_helper(gpu_dev)
694
695 def _LeakyRelu_helper(self, dev):
696 X = np.array([0.8, -1.2, 3.3, -3.6, -0.5,

Callers

nothing calls this directly

Calls 1

_Identity_helperMethod · 0.95

Tested by

no test coverage detected