Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ sample_gen
Function
sample_gen
dali/test/python/test_dali_variable_batch_size.py:1467–1471 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1465
return
piepline(batch_size=max_batch_size, num_threads=4, device_id=0)
1466
1467
def
sample_gen():
1468
j = 42
1469
while
True:
1470
yield
np.full((13, 7), j)
1471
j += 1
1472
1473
sample = sample_gen()
1474
batches = [
Callers
3
test_inflate
Function · 0.70
test_debayer
Function · 0.70
test_filter
Function · 0.70
Calls
6
rgb2bayer
Function · 0.90
blue_position
Function · 0.90
int32
Method · 0.80
uint8
Method · 0.80
stack
Method · 0.80
float32
Method · 0.80
Tested by
no test coverage detected