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

Function reshape_pipe

dali/test/python/operator_2/test_reshape.py:329–331  ·  view source on GitHub ↗
(shapes, src_dims=None, rel_shape=None)

Source from the content-addressed store, hash-verified

327
328@pipeline_def
329def reshape_pipe(shapes, src_dims=None, rel_shape=None):
330 data = fn.external_source(lambda: get_data(shapes), batch=True, device="cpu")
331 return fn.reshape(data, src_dims=src_dims, rel_shape=rel_shape)
332
333
334def _testimpl_reshape_src_dims_arg(src_dims, rel_shape, shapes, expected_out_shapes):

Callers 5

test_trailing_wildcardFunction · 0.85
test_invalid_wildcardFunction · 0.85

Calls 2

get_dataFunction · 0.70
reshapeMethod · 0.45

Tested by

no test coverage detected