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

Method test_4d_matmul_cpu

test/python/test_tensor.py:483–484  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

481 np.testing.assert_array_almost_equal(tensor.to_numpy(y), np_y)
482
483 def test_4d_matmul_cpu(self):
484 self._4d_matmul_helper(cpu_dev)
485
486 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
487 def test_4d_matmul_gpu(self):

Callers

nothing calls this directly

Calls 1

_4d_matmul_helperMethod · 0.95

Tested by

no test coverage detected