Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ backend_device
Function
backend_device
dali/test/python/operator_2/test_resize.py:195–201 ·
view source on GitHub ↗
(backend)
Source
from the content-addressed store, hash-verified
193
194
195
def
backend_device(backend):
196
if
backend in [
"cvcuda"
,
"gpu"
]:
197
return
"gpu"
198
elif
backend ==
"cpu"
:
199
return
"cpu"
200
else
:
201
assert False
202
203
204
def
resize_dali(
Callers
4
build_pipes
Function · 0.85
_test_stitching
Function · 0.85
_test_empty_input
Function · 0.85
_test_very_small_output
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected