Skip to content

[Relax][Frontend][ONNX] Fix LpPool conversion - #20053

Merged
tlopex merged 1 commit into
apache:mainfrom
napronald:fix-onnx-lppool-dtype
Jul 27, 2026
Merged

[Relax][Frontend][ONNX] Fix LpPool conversion#20053
tlopex merged 1 commit into
apache:mainfrom
napronald:fix-onnx-lppool-dtype

Conversation

@napronald

@napronald napronald commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes two issues in the Relax ONNX LpPool converter:

Minimal reproduce

python -m pytest \
  tests/python/relax/test_frontend_onnx.py::test_pool \
  -vv

conversion failed with:

ValueError: Could not convert T.float32 to a NumPy dtype

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@tlopex tlopex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@tlopex
tlopex merged commit ecf42c1 into apache:main Jul 27, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants