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

Method test_not_gpu

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

Source from the content-addressed store, hash-verified

2018
2019 @unittest.skipIf(not singa_wrap.USE_CUDA, 'CUDA is not enabled')
2020 def test_not_gpu(self):
2021 self._not_helper(gpu_dev)
2022
2023 def _xor_helper(self, dev):
2024 x0 = np.array([0, -0.3, -0.1, 0.1, 0.5,

Callers

nothing calls this directly

Calls 1

_not_helperMethod · 0.95

Tested by

no test coverage detected