Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
pipeline
Function · 0.70
test_cycle_raise
Method · 0.70
test_cycle_quiet
Method · 0.70
with_border_handler
Function · 0.50
InputTypeSwitch
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected