Skip to content

[Feat] Add resize support

Axel Farrugia requested to merge feat_add_resize into dev

Context

The resize support is needed to export Yolo models :
YoloV8 Support

Changes

Feat

  • Add resize support;
  • The main generation handles several inputs;
  • Now handle optional biases;

Fixes

  • Update getters (e.g. input.dims() -> input.dims) following this MR;
  • Optional inputs are ignored for forward_dims and inputs generation steps;
  • dev_mode (symlinks isntead of copies) was not working properly;
  • Related Issue : Accumulation type is now a templated argument for ElemWise and Activation kernels
  • Mul & Div were always inheriting from quantized ElemWise

Hotfixes

  • Related Issue : Resize's scale input is now reordered according to NHWC data format (should be moved into adapt_to_backend);
  • Related Issue : Concat's axis attribute is now reordered according to NHWC data format (should be moved into adapt_to_backend);
  • Related Issue : Set the dataformat back to any for some tensors with dimensions < 2 (should be moved into set_dataformat).
Edited by Axel Farrugia

Merge request reports

Loading