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

Method test_LeakyRelu_cpu

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

Source from the content-addressed store, hash-verified

708 self.check_shape(dx.shape(), (3, 2))
709
710 def test_LeakyRelu_cpu(self):
711 self._LeakyRelu_helper(cpu_dev)
712
713 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
714 def test_LeakyRelu_gpu(self):

Callers

nothing calls this directly

Calls 1

_LeakyRelu_helperMethod · 0.95

Tested by

no test coverage detected