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

Function iterator_function_def

dali/test/python/jax_plugin/utils.py:116–125  ·  view source on GitHub ↗
(shard_id=0, num_shards=1)

Source from the content-addressed store, hash-verified

114
115
116def iterator_function_def(shard_id=0, num_shards=1):
117 files, labels = fn.readers.file(
118 name="reader",
119 files=file_names,
120 labels=file_labels,
121 shard_id=shard_id,
122 num_shards=num_shards,
123 )
124
125 return labels.gpu()

Callers 3

iterator_functionFunction · 0.90
iterator_functionFunction · 0.90
iterator_functionFunction · 0.90

Calls 2

fileMethod · 0.80
gpuMethod · 0.45

Tested by 3

iterator_functionFunction · 0.72
iterator_functionFunction · 0.72
iterator_functionFunction · 0.72