Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/FastDeploy
/ is_cuda
Method
is_cuda
tests/layers/test_activation.py:46–47 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
44
self._intel_hpu = intel_hpu
45
46
def
is_cuda(self):
47
return
self._cuda
48
49
def
is_xpu(self):
50
return
False
Callers
2
get_padding_offset
Function · 0.45
test_is_cuda_and_available
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected