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

Method test_Sub_gpu

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

Source from the content-addressed store, hash-verified

1191
1192 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
1193 def test_Sub_gpu(self):
1194 self._Sub_helper(gpu_dev)
1195
1196 def _Pow_helper(self, dev):
1197 X0 = np.array([7, 5, 0.2, 0.1, 0.3, 4]).reshape(3, 2).astype(np.float32)

Callers

nothing calls this directly

Calls 1

_Sub_helperMethod · 0.95

Tested by

no test coverage detected