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

Function pipe

dali/test/python/operator_2/test_tensor_resize.py:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31def run_and_compare(expected, data, device, resize_fn):
32 @pipeline_def(batch_size=1, num_threads=3, device_id=0)
33 def pipe():
34 input_data = types.Constant(data, device=device)
35 return resize_fn(input_data)
36
37 p = pipe()
38 out = p.run()

Callers 2

run_and_compareFunction · 0.70
run_and_compare_batchFunction · 0.70

Calls 2

resize_fnFunction · 0.85
ConstantMethod · 0.80

Tested by

no test coverage detected