Skip to content

Conversation

@pfultz2
Copy link
Collaborator

@pfultz2 pfultz2 commented Nov 18, 2025

Motivation

Technical Details

Changelog Category

    • Added: New functionality.
    • Changed: Changes to existing functionality.
    • Removed: Functionality or support that has been removed. (Compared to a previous release)
    • Optimized: Component performance that has been optimized or improved.
    • Resolved Issues: Known issues from a previous version that have been resolved.
    • Not Applicable: This PR is not to be included in the changelog.

@pfultz2 pfultz2 requested a review from causten as a code owner November 18, 2025 15:36
@TedThemistokleous TedThemistokleous added bugfix Fixes a bug found in the code. simple small or simple changes labels Nov 18, 2025
@codecov
Copy link

codecov bot commented Nov 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4444      +/-   ##
===========================================
- Coverage    92.21%   92.21%   -0.00%     
===========================================
  Files          560      561       +1     
  Lines        26743    27228     +485     
===========================================
+ Hits         24660    25107     +447     
- Misses        2083     2121      +38     
Files with missing lines Coverage Δ
src/onnx/parse_resize.cpp 95.34% <100.00%> (ø)

... and 19 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@causten causten requested a review from Copilot November 18, 2025 20:22
Copilot finished reviewing on behalf of causten November 18, 2025 20:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug in the ONNX resize operator parsing where nonstandard input shapes (e.g., transposed or broadcasted tensors) would cause incorrect index calculations during linear mode interpolation. The fix ensures the input shape is converted to standard form before computing neighbor point indices.

  • Converts input shape to standard form before passing to calc_neighbor_points function
  • Fixes incorrect index calculations for inputs with non-contiguous strides
  • Maintains consistency with similar shape handling in other parts of the codebase

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pfultz2
Copy link
Collaborator Author

pfultz2 commented Nov 19, 2025

Test added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a bug found in the code. simple small or simple changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants