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

Method test_kint_kint_bc_cpu

test/python/test_tensor.py:609–610  ·  view source on GitHub ↗
(self, dev=cpu_dev)

Source from the content-addressed store, hash-verified

607 np.testing.assert_array_almost_equal(tensor.to_numpy(y), a_np - b_np)
608
609 def test_kint_kint_bc_cpu(self, dev=cpu_dev):
610 self._kint_kint_bc(cpu_dev)
611
612 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
613 def test_kint_kint_bc_gpu(self, dev=gpu_dev):

Callers

nothing calls this directly

Calls 1

_kint_kint_bcMethod · 0.95

Tested by

no test coverage detected