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

Method test_Identity_cpu

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

Source from the content-addressed store, hash-verified

686 self.check_shape(dx.shape(), (3, 2))
687
688 def test_Identity_cpu(self):
689 self._Identity_helper(cpu_dev)
690
691 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
692 def test_Identity_gpu(self):

Callers

nothing calls this directly

Calls 1

_Identity_helperMethod · 0.95

Tested by

no test coverage detected