MCPcopy 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_inflateFunction · 0.70
test_debayerFunction · 0.70
test_filterFunction · 0.70

Calls 6

rgb2bayerFunction · 0.90
blue_positionFunction · 0.90
int32Method · 0.80
uint8Method · 0.80
stackMethod · 0.80
float32Method · 0.80

Tested by

no test coverage detected