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

Method test_round_cpu

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

Source from the content-addressed store, hash-verified

3523 np.testing.assert_array_almost_equal(tensor.to_numpy(y), y_t)
3524
3525 def test_round_cpu(self):
3526 self.round_helper(cpu_dev)
3527
3528 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
3529 def test_round_gpu(self):

Callers

nothing calls this directly

Calls 1

round_helperMethod · 0.95

Tested by

no test coverage detected