DequantizeLinear: infer Y’s shape from X#749
Draft
SamNour wants to merge 3 commits into
Draft
Conversation
25fe2ef to
0f8e3b2
Compare
stale static types on Y.
0f8e3b2 to
d5db607
Compare
73acedd to
9ad8491
Compare
jorickert
reviewed
May 8, 2026
| // COM: inferShapes derives Y's shape from X. | ||
| func.func @test_dequantize_linear_stale_output_batch(%arg0 : tensor<2x4x8xi8>, %arg1 : tensor<f32>, %arg2 : tensor<i8>) -> tensor<1x4x8xf32> { | ||
| %1 = "onnx.DequantizeLinear"(%arg0, %arg1, %arg2) {} : (tensor<2x4x8xi8>, tensor<f32>, tensor<i8>) -> tensor<1x4x8xf32> | ||
| "onnx.Return"(%1) {} : (tensor<1x4x8xf32>) -> () |
There was a problem hiding this comment.
is'n the model here already broken? Not sure if we should try to support that
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.