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

Method test_batch_norm_gpu

test/python/test_onnx.py:336–337  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

334
335 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
336 def test_batch_norm_gpu(self):
337 self._batch_norm_helper(gpu_dev)
338
339 def _linear_helper(self, dev):
340 x = tensor.Tensor(shape=(2, 20), device=dev)

Callers

nothing calls this directly

Calls 1

_batch_norm_helperMethod · 0.95

Tested by

no test coverage detected