Enhance resize
Context
This merge request finalizes the implementation of the Resize operator in aidge_backend_cpu, ensuring full support for all attributes and inputs across all ONNX versions (up to OPSET 19).
It resolves aidge_backend_cpu#53, improving ONNX models compatibility.
What’s New
This MR brings the Resize operator to full ONNX compliance by:
-
✅ Adding the interpolation mode:cubic -
✅ Supporting theROIinput:- Enables region-specific resizing by defining a box in the input and output.
- Used exclusively with
tf_crop_and_resizemode.
-
✅ Adding support for additional ONNX attributes:-
antialias: Applies a low-pass filter when downscaling (forlinearandcubicmodes). -
cubic_coeff_a: Adjusts the cubic interpolation sharpness. -
exclude_outside: Ignores values outside the interpolation area when true. -
extrapolation_value: Fills output regions when input is out of bounds.
-
-
🧪 Expanding test coverage to validate all new attributes and edge cases.
Edited by Houssem ROUIS