Summary
Resize rejects models using the axes attribute (opset 18+). 8 tests skip-codegen.
Error
Node 'resize1' (Resize): Invalid attribute 'axes': custom axes attribute is not supported
Example tests
test_resize_downsample_sizes_nearest_not_smaller
test_resize_tf_crop_and_resize_axes_2_3
test_resize_tf_crop_and_resize_axes_3_2
test_resize_upsample_scales_cubic_asymmetric_axes_2_3
Proposed fix
Same pattern as the Pad axes static-expansion that already landed (onnx-ir pad.rs::expand_axes_pads_to_full): when axes is a static attribute, expand the per-axis scales / sizes / roi to full-rank (identity = 1.0 scale / unchanged size / full roi on unlisted axes) at IR time, then feed the full-rank values to existing codegen.
Refs
Summary
Resizerejects models using theaxesattribute (opset 18+). 8 testsskip-codegen.Error
Example tests
test_resize_downsample_sizes_nearest_not_smallertest_resize_tf_crop_and_resize_axes_2_3test_resize_tf_crop_and_resize_axes_3_2test_resize_upsample_scales_cubic_asymmetric_axes_2_3Proposed fix
Same pattern as the Pad
axesstatic-expansion that already landed (onnx-irpad.rs::expand_axes_pads_to_full): whenaxesis a static attribute, expand the per-axisscales/sizes/roito full-rank (identity = 1.0 scale / unchanged size / full roi on unlisted axes) at IR time, then feed the full-rank values to existing codegen.Refs