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

Method test_train_one_batch_cpu

test/python/test_model.py:476–477  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

474 self._forward_helper(gpu_dev, False, False, False)
475
476 def test_train_one_batch_cpu(self):
477 self._train_one_batch_helper(cpu_dev, True, True, False)
478
479 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
480 def test_train_one_batch_gpu(self):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected