Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ to_cpu
Method
to_cpu
dali/python/nvidia/dali/_tensor_formatting.py:204–205 ·
view source on GitHub ↗
(self, obj)
Source
from the content-addressed store, hash-verified
202
return
obj.layout
203
204
def
to_cpu(self, obj):
205
return
obj.cpu()
206
207
208
class
DynamicTensorAdapter(_BaseDynamicAdapter):
Callers
nothing calls this directly
Calls
1
cpu
Method · 0.45
Tested by
no test coverage detected