Closed Bug 1917115 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 47999 - webnn: add IDL and mojo definition of quantizeLinear and dequantizeLinear

Categories

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

task

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

lisa0314 <lisha.guo@intel.com> wrote:

webnn: add IDL and mojo definition of quantizeLinear and dequantizeLinear

This CL also implements validation tests in WPT and corresponding
opSupportLimits.

https://github.com/webmachinelearning/webnn/issues/375#issuecomment-2292466613

Bug: 362087883
Change-Id: I09d9ad38c10f3e21de621b9e60ccde8229a7ed25
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/5811265
WPT-Export-Revision: 37308f438e49222c6c9c98179fa2d8c539e7d9c2

CI Results

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

Total 12 tests and 13 subtests

Status Summary

Firefox

OK : 12
FAIL: 156

Chrome

OK : 12
PASS: 48
FAIL: 108

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webnn/validation_tests/dequantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [dequantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not the same as the data type of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of input is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zero_point is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of scale is float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/dequantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [dequantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not the same as the data type of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of input is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zero_point is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of scale is float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/dequantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [dequantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not the same as the data type of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of input is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zero_point is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of scale is float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/dequantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [dequantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not the same as the data type of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of input is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zero_point is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of scale is float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/dequantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [dequantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not the same as the data type of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of input is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zero_point is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of scale is float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/dequantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [dequantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not the same as the data type of input.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of input is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zero_point is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of scale is float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [dequantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/quantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [quantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not the same as scale.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not float32.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of scale is not float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [quantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/quantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [quantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not the same as scale.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not float32.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of scale is not float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [quantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/quantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [quantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not the same as scale.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not float32.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of scale is not float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [quantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/quantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [quantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not the same as scale.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not float32.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of scale is not float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [quantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/quantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [quantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not the same as scale.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not float32.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of scale is not float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [quantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)
  • /webnn/validation_tests/quantizeLinear.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)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS)
    • [quantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [5] and zeroPoint's shape = [5] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Test scale's shape = [] and zeroPoint's shape = [] which is unidirectionally broadcastable to input's shape.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of scale is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the shape of zero_point is not broadcastable to the shape of input.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not the same as scale.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of input is not float32.: FAIL (Chrome: FAIL)
    • [quantizeLinear] Throw if the data type of scale is not float32.: FAIL (Chrome: FAIL)
    • [dequantizeLinear] Throw if the data type of zeroPoint is not int8 or uint8.: FAIL (Chrome: FAIL)
    • [quantizeLinear] throw if input is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if scale is from another builder: FAIL (Chrome: PASS)
    • [quantizeLinear] throw if zeroPoint is from another builder: FAIL (Chrome: PASS)

Tests Disabled in Gecko Infrastructure

  • /webnn/validation_tests/dequantizeLinear.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)
  • /webnn/validation_tests/dequantizeLinear.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)
  • /webnn/validation_tests/dequantizeLinear.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)
  • /webnn/validation_tests/dequantizeLinear.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)
  • /webnn/validation_tests/dequantizeLinear.https.any.worker.html?npu [