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

Method test_softmax_api_cpu

test/python/test_api.py:243–244  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

241 _run_test(dev, [2, 2, 2, 2], -4, [1, 16])
242
243 def test_softmax_api_cpu(self):
244 self._softmax_api_helper(cpu_dev)
245
246 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
247 def test_softmax_api_gpu(self):

Callers

nothing calls this directly

Calls 1

_softmax_api_helperMethod · 0.95

Tested by

no test coverage detected