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

Method test_embedding_cpu

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

Source from the content-addressed store, hash-verified

3547 self.check_shape(dW.shape(), (10, 3))
3548
3549 def test_embedding_cpu(self):
3550 self.embedding_helper(cpu_dev)
3551
3552 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
3553 def test_embedding_gpu(self):

Callers

nothing calls this directly

Calls 1

embedding_helperMethod · 0.95

Tested by

no test coverage detected