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

Method device

dali/test/python/experimental_mode/test_invocation.py:68–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66
67 @property
68 def device(self):
69 return self._tensors[0].device if self._tensors else None
70
71 def __repr__(self):
72 return f"MockBatch(tensors={self._tensors})"

Callers 15

get_batch_daliFunction · 0.45
get_batch_dali_sparseFunction · 0.45
get_dataFunction · 0.45
to_datasetFunction · 0.45
__call__Method · 0.45
to_image_datasetFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected