-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebNN: Implement WebNN spec bug fix for unsigned integer attributes
This CL implements the WebNN spec changes [1] and [2] that fix the data type of attributes for MLConv2dOptions, MLPool2dOptions and MLResample2dOptions by using unsigned integers instead of signed integers. For those attributes, the negative values are not meaningful. The MLGraphBuilder, MLGraphBuilderTest and MLGraphXnnpack are updated according to this IDL change. [1]: webmachinelearning/webnn#294 [2]: webmachinelearning/webnn#306 Bug: 1273291 Change-Id: Ic7aa42ff20676b959695e66608d3254ce368c7e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4164044 Reviewed-by: Jiewei Qian <qjw@chromium.org> Commit-Queue: ningxin hu <ningxin.hu@intel.com> Cr-Commit-Position: refs/heads/main@{#1093807}
- Loading branch information
Showing
6 changed files
with
69 additions
and
152 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.