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

Method test_kint_kint_cpu

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

Source from the content-addressed store, hash-verified

582 np.testing.assert_array_almost_equal(tensor.to_numpy(y), a_np - b_np)
583
584 def test_kint_kint_cpu(self, dev=cpu_dev):
585 self._kint_kint(cpu_dev)
586
587 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
588 def test_kint_kint_gpu(self, dev=gpu_dev):

Callers

nothing calls this directly

Calls 1

_kint_kintMethod · 0.95

Tested by

no test coverage detected