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

Method test_onehot_cpu

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

Source from the content-addressed store, hash-verified

3152 decimal=5)
3153
3154 def test_onehot_cpu(self):
3155 self.onehot_test(cpu_dev)
3156
3157 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
3158 def test_onehot_gpu(self):

Callers

nothing calls this directly

Calls 1

onehot_testMethod · 0.95

Tested by

no test coverage detected