[wpt-sync] Sync PR 46209 - WebNN: Allow 0-D (scalar) reductions
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox128 fixed)
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
322.24 KB,
text/plain
|
Details |
Sync web-platform-tests PR 46209 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46209
Details from upstream follow.
Joshua Bell <jsbell@chromium.org> wrote:
WebNN: Allow 0-D (scalar) reductions
crrev.com/c/5496321 added a restriction on the reduction ops
(including argMin/argMax) that the rank of the input tensor must be
greater than zero.In https://github.com/webmachinelearning/webnn/issues/681, @fdwr
points out that 0-D (scalar) reductions are fine, it's just a no-op.
Per that discussion, this removes a restriction. There are already
WPT cases for argMin/argMax (although they fail for other reasons);
cases are added for the plethora of reduction ops (which also fail
for other reasons).Change-Id: Ib10a9b0bb3062f9d2b6001d9a4963b14e751d14f
Reviewed-on: https://chromium-review.googlesource.com/5529350
WPT-Export-Revision: f70b949fab6883d78a7dad985374cc4212e4c86c
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
Description
•