Skip to content

WebNN: Ensure scale and zeroPoint rank is equal to input rank#53947

Merged
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-042debacde
Jul 24, 2025
Merged

WebNN: Ensure scale and zeroPoint rank is equal to input rank#53947
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-042debacde

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

This CL implements the WebNN spec change 1 that requires the scale
and zeroPoint for quantizeLinear and dequantizeLinear ops have the
the same rank as input.

Bug: 396176047
Change-Id: Ia310e0c254ad90967b4e3577e54498fa28532f84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6773953
Commit-Queue: ningxin hu <ningxin.hu@intel.com>
Reviewed-by: Phillis Tang <phillis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1491196}

This CL implements the WebNN spec change [1] that requires the scale
and zeroPoint for quantizeLinear and dequantizeLinear ops have the
the same rank as input.

[1]: webmachinelearning/webnn#805 (comment)

Bug: 396176047
Change-Id: Ia310e0c254ad90967b4e3577e54498fa28532f84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6773953
Commit-Queue: ningxin hu <ningxin.hu@intel.com>
Reviewed-by: Phillis Tang <phillis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1491196}
Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 03b1ef6 into master Jul 24, 2025
24 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-042debacde branch July 24, 2025 02:03
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.

3 participants