MCPcopy 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
195def 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
204def resize_dali(

Callers 4

build_pipesFunction · 0.85
_test_stitchingFunction · 0.85
_test_empty_inputFunction · 0.85
_test_very_small_outputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected