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

Method test_cossim_cpu

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

Source from the content-addressed store, hash-verified

3235 self.check_shape(db.shape(), (3, 10))
3236
3237 def test_cossim_cpu(self):
3238 self.cossim_helper(cpu_dev)
3239
3240 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
3241 def test_cossim_gpu(self):

Callers

nothing calls this directly

Calls 1

cossim_helperMethod · 0.95

Tested by

no test coverage detected