Skip to content

Commit

Permalink
Bug 1909288 [wpt PR 47235] - WebNN: Change argMin/argMax to take scal…
Browse files Browse the repository at this point in the history
…ar axis, a=testonly

Automatic update from web-platform-tests
WebNN: Change argMin/argMax to take scalar axis

This CL changes argMin/argMax to take scalar axis to align with the spec
change [1].

The changes include the definition of IDL and mojo, the implementation
of DirectML, TfLite and CoreML backend and the related unit tests and
WPT tests.

[1] webmachinelearning/webnn#724

Bug: 352359898
Change-Id: Iee68b568331570a6ea51fd17b2195c602d4cff59
Cq-Include-Trybots: luci.chromium.try​:win11-blink-rel,mac14.arm64-blink-rel,mac14-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5721028
Reviewed-by: Alex Gough <ajgo@chromium.org>
Reviewed-by: Phillis Tang <phillis@chromium.org>
Commit-Queue: Bin Miao <bin.miao@intel.com>
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Cr-Commit-Position: refs/heads/main@{#1331567}

--

wpt-commits: acd785862cc0cd8a52e83ac6db95403e0e6e5450
wpt-pr: 47235
  • Loading branch information
miaobin authored and moz-wptsync-bot committed Jul 25, 2024
1 parent bdde8c6 commit 7753649
Show file tree
Hide file tree
Showing 5 changed files with 249 additions and 839 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-argminmax

runWebNNConformanceTests(['argMin', 'argMax'], buildOperationWithSingleInput);
runWebNNConformanceTests(['argMin', 'argMax'], buildArgMinMax);
Loading

0 comments on commit 7753649

Please sign in to comment.