[wpt-sync] Sync PR 47867 - WebNN: Define Tile operation in idl, mojom and implement it for DirectML
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox132 fixed)
| Tracking | Status | |
|---|---|---|
| firefox132 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47867 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47867
Details from upstream follow.
mingmingtasd <mingming1.xu@intel.com> wrote:
WebNN: Define Tile operation in idl, mojom and implement it for DirectML
According to the spec discussion[1], Tile operation repeats a tensor
the given number of times along each axis. This CL defines the Tile
operation in idl, mojom and implements it for DirectML. Some related
wpt conformance tests and validation tests are also added.[1] https://github.com/webmachinelearning/webnn/issues/375#issuecomment-2292466613
Bug: 361611794
Change-Id: I7cdca604e76b4fbcaab2269f1f270cfbb4fb85a1
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/5807995
WPT-Export-Revision: 624e6386a13c4dd23e92ea2c82a152992e37bf35
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 12 tests and 8 subtests
Status Summary
Firefox
OK : 12
FAIL: 54
Chrome
OK : 12
PASS: 30
FAIL: 36
Safari
OK : 12
FAIL: 54
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webnn/conformance_tests/tile.https.any.worker.html?npu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL(Safari:FAIL)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/tile.https.any.worker.html?gpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL(Safari:FAIL)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/tile.https.any.html?cpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL(Safari:FAIL)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/tile.https.any.html?npu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL(Safari:FAIL)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/tile.https.any.html?gpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL(Safari:FAIL)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/tile.https.any.worker.html?cpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL(Safari:FAIL)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/validation_tests/tile.https.any.worker.html?gpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - [tile] throw if input is from another builder:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 1, 1, 1], float32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 2, 3, 4], uint32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Throw if repetitions's size is not the same as input's rank.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is zero.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is negative.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions causes tiled dimension size overflow.:
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/tile.https.any.html?npu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - [tile] throw if input is from another builder:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 1, 1, 1], float32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 2, 3, 4], uint32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Throw if repetitions's size is not the same as input's rank.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is zero.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is negative.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions causes tiled dimension size overflow.:
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/tile.https.any.worker.html?cpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - [tile] throw if input is from another builder:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 1, 1, 1], float32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 2, 3, 4], uint32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Throw if repetitions's size is not the same as input's rank.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is zero.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is negative.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions causes tiled dimension size overflow.:
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/tile.https.any.worker.html?npu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - [tile] throw if input is from another builder:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 1, 1, 1], float32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 2, 3, 4], uint32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Throw if repetitions's size is not the same as input's rank.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is zero.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is negative.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions causes tiled dimension size overflow.:
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/tile.https.any.html?cpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - [tile] throw if input is from another builder:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 1, 1, 1], float32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 2, 3, 4], uint32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Throw if repetitions's size is not the same as input's rank.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is zero.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is negative.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions causes tiled dimension size overflow.:
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/tile.https.any.html?gpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - [tile] throw if input is from another builder:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 1, 1, 1], float32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Test building tile with repetitions=[1, 2, 3, 4], uint32 data type.:
FAIL(Chrome:FAIL, Safari:FAIL) - [tile] Throw if repetitions's size is not the same as input's rank.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is zero.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions is negative.:
FAIL(Chrome:PASS, Safari:FAIL) - [tile] Throw if any value in repetitions causes tiled dimension size overflow.:
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
Tests Disabled in Gecko Infrastructure
- /webnn/conformance_tests/tile.https.any.worker.html?npu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/conformance_tests/tile.https.any.worker.html?gpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/conformance_tests/tile.https.any.html?cpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/conformance_tests/tile.https.any.html?npu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/conformance_tests/tile.https.any.html?gpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/conformance_tests/tile.https.any.worker.html?cpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/validation_tests/tile.https.any.worker.html?gpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/validation_tests/tile.https.any.html?npu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/validation_tests/tile.https.any.worker.html?cpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/validation_tests/tile.https.any.worker.html?npu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/validation_tests/tile.https.any.html?cpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /webnn/validation_tests/tile.https.any.html?gpu [wpt.fyi]:
OK[GitHub],SKIP[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)
Comment 4•1 year ago
|
||
| bugherder | ||
Description
•