Skip to content

DequantizeLinear: infer Y’s shape from X#749

Draft
SamNour wants to merge 3 commits into
feature/onnx-to-tosafrom
samnour2.mathc_x_y_shape
Draft

DequantizeLinear: infer Y’s shape from X#749
SamNour wants to merge 3 commits into
feature/onnx-to-tosafrom
samnour2.mathc_x_y_shape

Conversation

@SamNour
Copy link
Copy Markdown

@SamNour SamNour commented May 8, 2026

No description provided.

@SamNour SamNour force-pushed the samnour2.mathc_x_y_shape branch from 25fe2ef to 0f8e3b2 Compare May 8, 2026 16:51
@SamNour SamNour force-pushed the samnour2.mathc_x_y_shape branch from 0f8e3b2 to d5db607 Compare May 8, 2026 17:16
@SamNour SamNour force-pushed the samnour2.mathc_x_y_shape branch from 73acedd to 9ad8491 Compare May 8, 2026 17:25
// 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>) -> ()
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

is'n the model here already broken? Not sure if we should try to support that

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