MCPcopy Create free account
hub / github.com/NVIDIA/DALI / cpu

Method cpu

dali/python/nvidia/dali/data_node.py:109–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 return self._to_backend("gpu")
108
109 def cpu(self) -> DataNode:
110 self._check_gpu2cpu()
111 return self._to_backend("cpu")
112
113 # Note: Regardless of whether we want the cpu or gpu version
114 # of a tensor, we keep the source argument the same so that

Callers 3

to_cpuMethod · 0.45
classify_array_kwargMethod · 0.45
FeedExternalInputMethod · 0.45

Calls 2

_check_gpu2cpuMethod · 0.95
_to_backendMethod · 0.95

Tested by 1

FeedExternalInputMethod · 0.36