Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ test_cast_gpu
Method
test_cast_gpu
test/python/test_operation.py:3117–3118 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3115
3116
@unittest.skipIf(not singa_wrap.USE_CUDA,
'CUDA is not enabled'
)
3117
def
test_cast_gpu(self):
3118
self.cast_test(gpu_dev)
3119
3120
def
onehot_test(self, dev):
3121
Callers
nothing calls this directly
Calls
1
cast_test
Method · 0.95
Tested by
no test coverage detected