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

Function pipe

dali/test/python/decoder/test_numpy.py:38–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37 @pipeline_def(batch_size=1, num_threads=1)
38 def pipe():
39 encoded_npy = fn.external_source(
40 source=box_source(data), num_outputs=1, batch=False, ndim=1, dtype=DALIDataType.UINT8
41 )
42 decoded = fn.decoders.numpy(encoded_npy)
43 return decoded
44
45 p = pipe()
46 p.build()

Callers 9

test_normal_decodingFunction · 0.70
test_fortran_decodingFunction · 0.70
test_variable_shapeFunction · 0.70
test_casting_decodingFunction · 0.70
test_malformed_dataFunction · 0.70

Calls 3

box_sourceFunction · 0.85
bad_sourceFunction · 0.85
malformed_sourceFunction · 0.85

Tested by

no test coverage detected