Skip to content

feat: add pnny onnx resize to interpolate#6641

Open
kalcohol wants to merge 2 commits intoTencent:masterfrom
kalcohol:fix/onnx-resize-to-interpolate
Open

feat: add pnny onnx resize to interpolate#6641
kalcohol wants to merge 2 commits intoTencent:masterfrom
kalcohol:fix/onnx-resize-to-interpolate

Conversation

@kalcohol
Copy link
Copy Markdown
Contributor

@kalcohol kalcohol commented Apr 6, 2026

Co-developed with GLM-5-Turbo (ZhipuAI API, annual max subscription), orchestrated via OpenCode

kalcohol and others added 2 commits April 6, 2026 07:11
Maps Resize, Upsample, UpsampleNearest, UpsampleBilinear,
ResizeNearestNeighbor, and ResizeBilinear to aten::interpolate
so pnnx simulation generates correct F.interpolate calls.

Also removes ONNX-specific params (coordinate_transformation_mode,
exclude_outside, roi) that torch.interpolate does not accept.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <[email protected]>
@tencent-adm
Copy link
Copy Markdown
Member

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@kalcohol kalcohol changed the title feat: add onnx resize to interpolate feat: add pnny onnx resize to interpolate Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants