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

Method test_forward_cpu

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

Source from the content-addressed store, hash-verified

460 np.testing.assert_array_almost_equal(tensor.to_numpy(self.b1), self.B1)
461
462 def test_forward_cpu(self):
463 self._forward_helper(cpu_dev, False, True, False)
464
465 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
466 def test_forward_gpu(self):

Callers

nothing calls this directly

Calls 1

_forward_helperMethod · 0.95

Tested by

no test coverage detected