Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ONNX] Update DequantizeLinear21 converter #27351

Merged

Conversation

itikhono
Copy link
Contributor

@itikhono itikhono commented Oct 31, 2024

Details:

Aligned with the canonical form of the dequantization subgraph.

Reshape op has been moved up right after the Constant, it will be const folded in MOC, this is ok, Reshape const folding doesn't copy a constant, just copies a pointer.

And ConvertLike were replaced with Convert. Perhaps that's a pretty rough change and we need to add a check here that the scale is a contant. And in that case use Convert instead of ConvertLike, if scale is not a constant, maybe we should leave ConvertLike.

Tickets:

@itikhono itikhono marked this pull request as ready for review October 31, 2024 08:44
@itikhono itikhono requested a review from a team as a code owner October 31, 2024 08:44
@gkrivor gkrivor changed the title Update DequantizeLinear21 converter [ONNX] Update DequantizeLinear21 converter Oct 31, 2024
@gkrivor gkrivor enabled auto-merge October 31, 2024 08:46
@gkrivor gkrivor added this to the 2024.5 milestone Oct 31, 2024
@gkrivor gkrivor added this pull request to the merge queue Oct 31, 2024
Merged via the queue into openvinotoolkit:master with commit b9a94c3 Oct 31, 2024
165 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: ONNX FE OpenVINO ONNX FrontEnd priority: high High piority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants