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

Function cb

dali/test/python/test_external_source_cupy.py:136–137  ·  view source on GitHub ↗
(sample_info)

Source from the content-addressed store, hash-verified

134 batch = [fw.full((1024, 1024, 4), i, dtype=fw.int32) for i in range(batch_size)]
135
136 def cb(sample_info):
137 return batch[sample_info.idx_in_batch]
138
139 return cb
140

Callers 5

pipelineFunction · 0.70
test_cycle_raiseMethod · 0.70
test_cycle_quietMethod · 0.70
with_border_handlerFunction · 0.50
InputTypeSwitchMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected