diff --git a/onnx/src/ops/resize.rs b/onnx/src/ops/resize.rs index a6eaab44f6..69715406f4 100644 --- a/onnx/src/ops/resize.rs +++ b/onnx/src/ops/resize.rs @@ -345,7 +345,7 @@ impl TypedOp for Resize { as_op!(); fn output_facts(&self, inputs: &[&TypedFact]) -> TractResult> { - let roi = self.optional_roi_input.and_then(|ix| inputs.get(ix)); + let _roi = self.optional_roi_input.and_then(|ix| inputs.get(ix)); let scales = self.optional_scales_input.and_then(|ix| inputs.get(ix)); let sizes = self.optional_sizes_input.and_then(|ix| inputs.get(ix)); let output_shape = self.compute_output_shape( diff --git a/test-rt/test-onnx-nnef-cycle/build.rs b/test-rt/test-onnx-nnef-cycle/build.rs index fb5230e1d6..452db1db5d 100644 --- a/test-rt/test-onnx-nnef-cycle/build.rs +++ b/test-rt/test-onnx-nnef-cycle/build.rs @@ -49,6 +49,7 @@ test_qlinearmatmul_2D test_qlinearmatmul_3D test_reshape_reordered_dims test_resize_upsample_scales_linear_align_corners +test_resize_downsample_scales_linear test_unsqueeze "# .trim()