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

Method test_batchnorm2d_cpu

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

Source from the content-addressed store, hash-verified

339 self.check_shape(db.shape(), (3,))
340
341 def test_batchnorm2d_cpu(self):
342 self._batchnorm2d_helper(cpu_dev)
343
344 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
345 def test_batchnorm2d_gpu(self):

Callers

nothing calls this directly

Calls 1

_batchnorm2d_helperMethod · 0.95

Tested by

no test coverage detected