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

Function resize_fn

dali/test/python/operator_2/test_tensor_resize.py:75–76  ·  view source on GitHub ↗
(input_data)

Source from the content-addressed store, hash-verified

73 )
74
75 def resize_fn(input_data):
76 return fn.tensor_resize(input_data, scales=scales, alignment=0, interp_type=types.INTERP_NN)
77
78 run_and_compare(expected, data, device, resize_fn)
79

Callers 2

pipeFunction · 0.85
test_resize_alignmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected