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

Class SampleDesc

dali/test/python/sequences_test_utils.py:32–39  ·  view source on GitHub ↗

Context that the argument provider callback receives when prompted for parameter

Source from the content-addressed store, hash-verified

30
31@dataclass
32class SampleDesc:
33 """Context that the argument provider callback receives when prompted for parameter"""
34
35 rng: random.Random
36 frame_idx: int
37 sample_idx: int
38 batch_idx: int
39 sample: np.ndarray
40
41
42@dataclass

Callers 3

test_videoFunction · 0.90
get_input_arg_per_sampleFunction · 0.70
arg_for_sampleFunction · 0.70

Calls

no outgoing calls

Tested by 3

test_videoFunction · 0.72
get_input_arg_per_sampleFunction · 0.56
arg_for_sampleFunction · 0.56