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

Method test_evaluate_gpu

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

Source from the content-addressed store, hash-verified

471
472 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
473 def test_evaluate_gpu(self):
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)

Callers

nothing calls this directly

Calls 1

_forward_helperMethod · 0.95

Tested by

no test coverage detected