Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ test_Sub_cpu
Method
test_Sub_cpu
test/python/test_onnx.py:978–979 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
976
decimal=5)
977
978
def
test_Sub_cpu(self):
979
self._Sub_helper(cpu_dev)
980
981
@unittest.skipIf(not singa_api.USE_CUDA,
'CUDA is not enabled'
)
982
def
test_Sub_gpu(self):
Callers
nothing calls this directly
Calls
1
_Sub_helper
Method · 0.95
Tested by
no test coverage detected