Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ test_sum_cpu
Method
test_sum_cpu
test/python/test_operation.py:283–284 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
281
decimal=5)
282
283
def
test_sum_cpu(self):
284
self._sum_helper(cpu_dev)
285
286
@unittest.skipIf(not singa_wrap.USE_CUDA,
'CUDA is not enabled'
)
287
def
test_sum_gpu(self):
Callers
nothing calls this directly
Calls
1
_sum_helper
Method · 0.95
Tested by
no test coverage detected