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

Method test_Cos_gpu

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

Source from the content-addressed store, hash-verified

776
777 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
778 def test_Cos_gpu(self):
779 self._Cos_helper(gpu_dev)
780
781 def _Cosh_helper(self, dev):
782 X = np.array([0.8, -1.2, 3.3, -3.6, -0.5,

Callers

nothing calls this directly

Calls 1

_Cos_helperMethod · 0.95

Tested by

no test coverage detected