Skip to content

[Fix] Scales producer of resize was constant and then impossible to transpose

Axel Farrugia requested to merge fix_resize_constant_prod into dev

Context

The Resize node has a scales producer which needs to be transposed to adapt to the NHWC format of the CPP Export (Related Issue).
However this producer sometimes is constant, leading to an error while trying to change its value.
This MR disables the constant attribute of this particular producer so that it can be changed.

Notice that this approach is a hotfix and will later be handled differently as explained in this issue.

Changes

Fix

  • Scales Producer of Resize nodes can now be transposed even if it is Constant.
Edited by Axel Farrugia

Merge request reports

Loading