commit | 5cce9c22ac911ea03161b1dce2b5f26afe6ed0a3 | [log] [tgz] |
---|---|---|
author | mingmingtasd <mingming1.xu@intel.com> | Fri Dec 01 00:52:22 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 01 00:52:22 2023 |
tree | 4650770b7a8c2ec8494dd783f342f7e5a6feaafd | |
parent | 09b8158eef33cb7da27e4b85a247c614862bdbef [diff] |
WebNN: Define Where in mojo and implement it in DirectML backend According to the WebNN spec[1], Where operator selects the values from the input or the other tensor depending on the corresponding Boolean values of the condition tensor. This CL defines Where operator in mojo and implement it in DirectML backend, some unittests are also added. This CL also fixes some naming nits: `input` -> `true_value` and `other` -> `false_value`. [1] https://pr-preview.s3.amazonaws.com/webmachinelearning/webnn/pull/478.html#api-mlgraphbuilder-where Bug: 1273291 Change-Id: I3dac33d2c4c1d7f17a2819a2ddfffb42e4b5bb17 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5069382 Reviewed-by: Jiewei Qian <qjw@chromium.org> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Commit-Queue: Mingming1 Xu <mingming1.xu@intel.com> Reviewed-by: ningxin hu <ningxin.hu@intel.com> Reviewed-by: Alex Gough <ajgo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1231654}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.