Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ gen
Function
gen
dali/test/python/test_external_source_impl.py:453–455 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
451
pipe = Pipeline(1, 3, 0)
452
453
def
gen():
454
for
i in range(5):
455
yield
[make_array([i + 1.5], dtype=datapy.float32)]
456
457
pipe.set_outputs(fn.external_source(gen()))
458
Callers
2
test_external_source_generator
Function · 0.70
test_external_source_generator_cycle_error
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected