Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_dali
Function · 0.45
get_batch_dali_sparse
Function · 0.45
test_python_operator_error
Function · 0.45
external_source_to_tf_dataset
Function · 0.45
get_data
Function · 0.45
to_dataset
Function · 0.45
test_both_tf_and_dali_conditionals
Method · 0.45
test_pytorch_cuda_context
Function · 0.45
__call__
Method · 0.45
to_image_dataset
Function · 0.45
test_different_num_shapes_dtypes
Function · 0.45
test_python_operator_not_allowed_in_tf_dataset_error
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected