Closed Bug 1914677 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 47768 - webnn: support all axes for resample2d

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 47768 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/47768
Details from upstream follow.

Phillis Tang <phillis@chromium.org> wrote:

webnn: support all axes for resample2d

Allow arbitrary axes as long as they are valid dimensions for
resample2d instead of restricting them to point to spacial dimensions.
Apply transposes for input & output when the axes is not supported by
the backend.

See spec pr: https://github.com/webmachinelearning/webnn/pull/752

Change-Id: I5112abf1f43328d901000a4cff8468bd9bfe2dfb
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14.arm64-blink-rel,mac14-blink-rel, linux-blink-rel
Bug: 329658123, 334914468
Reviewed-on: https://chromium-review.googlesource.com/5798093
WPT-Export-Revision: e4d741e74aadec194336994c9210d7db61448e18

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 12 tests and 27 subtests

Status Summary

Firefox

OK : 12
FAIL: 168

Chrome

OK : 12
PASS: 216
FAIL: 24

Safari

OK : 12
FAIL: 168

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webnn/conformance_tests/resample2d.https.any.html?gpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
  • /webnn/conformance_tests/resample2d.https.any.html?npu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
  • /webnn/conformance_tests/resample2d.https.any.html?cpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
  • /webnn/conformance_tests/resample2d.https.any.worker.html?npu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
  • /webnn/conformance_tests/resample2d.https.any.worker.html?cpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
  • /webnn/conformance_tests/resample2d.https.any.worker.html?gpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
  • /webnn/validation_tests/resample2d.https.any.worker.html?gpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
    • [resample2d] Test building resample2d with default options: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5] and explicit axes=[2, 3]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[1.0, 2.0] and axes=[0, 1]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0] and axes=[1, 2]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with sizes=[3, 6] ignored scales: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with non consecutive axes=[0,2]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [resample2d] Throw if the dataType of input is not float32 or float16: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the rank of input is not 4: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of scales is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is negative: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is 0: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of sizes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[0] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[1] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any size value is out of 'unsigned long' value range: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputHeight being floor(scaleHeight*inputHeight) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleHeight is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputWidth being floor(scaleWidth*inputWidth) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleWidth is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of axes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any axis value is greater than or equal to the input rank: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the values of axes are same: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] throw if input is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test resample2d with all of the data types.: FAIL (Chrome: PASS, Safari: FAIL)
  • /webnn/validation_tests/resample2d.https.any.html?npu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
    • [resample2d] Test building resample2d with default options: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5] and explicit axes=[2, 3]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[1.0, 2.0] and axes=[0, 1]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0] and axes=[1, 2]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with sizes=[3, 6] ignored scales: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with non consecutive axes=[0,2]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [resample2d] Throw if the dataType of input is not float32 or float16: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the rank of input is not 4: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of scales is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is negative: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is 0: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of sizes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[0] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[1] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any size value is out of 'unsigned long' value range: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputHeight being floor(scaleHeight*inputHeight) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleHeight is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputWidth being floor(scaleWidth*inputWidth) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleWidth is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of axes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any axis value is greater than or equal to the input rank: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the values of axes are same: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] throw if input is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test resample2d with all of the data types.: FAIL (Chrome: PASS, Safari: FAIL)
  • /webnn/validation_tests/resample2d.https.any.html?cpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
    • [resample2d] Test building resample2d with default options: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5] and explicit axes=[2, 3]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[1.0, 2.0] and axes=[0, 1]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0] and axes=[1, 2]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with sizes=[3, 6] ignored scales: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with non consecutive axes=[0,2]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [resample2d] Throw if the dataType of input is not float32 or float16: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the rank of input is not 4: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of scales is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is negative: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is 0: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of sizes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[0] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[1] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any size value is out of 'unsigned long' value range: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputHeight being floor(scaleHeight*inputHeight) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleHeight is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputWidth being floor(scaleWidth*inputWidth) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleWidth is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of axes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any axis value is greater than or equal to the input rank: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the values of axes are same: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] throw if input is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test resample2d with all of the data types.: FAIL (Chrome: PASS, Safari: FAIL)
  • /webnn/validation_tests/resample2d.https.any.worker.html?npu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
    • [resample2d] Test building resample2d with default options: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5] and explicit axes=[2, 3]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[1.0, 2.0] and axes=[0, 1]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0] and axes=[1, 2]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with sizes=[3, 6] ignored scales: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with non consecutive axes=[0,2]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [resample2d] Throw if the dataType of input is not float32 or float16: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the rank of input is not 4: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of scales is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is negative: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is 0: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of sizes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[0] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[1] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any size value is out of 'unsigned long' value range: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputHeight being floor(scaleHeight*inputHeight) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleHeight is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputWidth being floor(scaleWidth*inputWidth) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleWidth is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of axes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any axis value is greater than or equal to the input rank: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the values of axes are same: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] throw if input is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test resample2d with all of the data types.: FAIL (Chrome: PASS, Safari: FAIL)
  • /webnn/validation_tests/resample2d.https.any.html?gpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
    • [resample2d] Test building resample2d with default options: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5] and explicit axes=[2, 3]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[1.0, 2.0] and axes=[0, 1]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0] and axes=[1, 2]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with sizes=[3, 6] ignored scales: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with non consecutive axes=[0,2]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [resample2d] Throw if the dataType of input is not float32 or float16: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the rank of input is not 4: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of scales is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is negative: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is 0: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of sizes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[0] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[1] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any size value is out of 'unsigned long' value range: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputHeight being floor(scaleHeight*inputHeight) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleHeight is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputWidth being floor(scaleWidth*inputWidth) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleWidth is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of axes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any axis value is greater than or equal to the input rank: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the values of axes are same: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] throw if input is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test resample2d with all of the data types.: FAIL (Chrome: PASS, Safari: FAIL)
  • /webnn/validation_tests/resample2d.https.any.worker.html?cpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
    • [resample2d] Test building resample2d with default options: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[0.5, 0.5] and explicit axes=[2, 3]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[1.0, 2.0] and axes=[0, 1]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with scales=[2.0, 2.0] and axes=[1, 2]: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with sizes=[3, 6] ignored scales: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test building resample2d with non consecutive axes=[0,2]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [resample2d] Throw if the dataType of input is not float32 or float16: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the rank of input is not 4: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of scales is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is negative: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any scale value is 0: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of sizes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[0] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if sizes[1] is not a valid dimension: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any size value is out of 'unsigned long' value range: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputHeight being floor(scaleHeight*inputHeight) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleHeight is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if outputWidth being floor(scaleWidth*inputWidth) is too large: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if scaleWidth is too small: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the length of axes is not 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if any axis value is greater than or equal to the input rank: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Throw if the values of axes are same: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] throw if input is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
    • [resample2d] Test resample2d with all of the data types.: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

  • /webnn/conformance_tests/resample2d.https.any.html?gpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.html?npu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.html?cpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.worker.html?npu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.worker.html?cpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.worker.html?gpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.worker.html?gpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.html?npu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.html?cpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.worker.html?npu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.html?gpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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/resample2d.https.any.worker.html?cpu [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b908b8f38e35 [wpt PR 47768] - webnn: support all axes for resample2d, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.