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

Method test_Cos_gpu

test/python/test_onnx.py:479–480  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

477
478 @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled')
479 def test_Cos_gpu(self):
480 self._Cos_helper(gpu_dev)
481
482 def _Cosh_helper(self, dev):
483 x = np.array([0.1, -1.0, 0.4, 4.0, -0.9,

Callers

nothing calls this directly

Calls 1

_Cos_helperMethod · 0.95

Tested by

no test coverage detected