WPT
wpt / webnn / validation_tests / quantizeLinear.https.any.html?npu
Spec: Web Neural Network API ↗
Runs: Chrome 155.0.8039.0 (wpt@d0c38285b, 2026-09-03) | Firefox 157.0a1 (wpt@ed1909ed6, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-56c61 (wpt@cc4d45aa0, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 15/15 | 0/15 | 0/15 | 0/15 | 0/15 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator") | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Test scale's shape = [3, 2, 5] and zeroPoint's shape = [3, 2, 5] which is the same as input's shape. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Test scale's shape = [1, 1, 5] and zeroPoint's shape = [1, 1, 5] which is unidirectionally broadcastable to input's shape. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Test scale's shape = [1, 1, 1] and zeroPoint's shape = [1, 1, 1] which is unidirectionally broadcastable to input's shape. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Test block-wise quantization with block_size = [3, 2, 5]. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Throw if the scale rank is not equal to input rank. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Throw if the scale size is not a factor of input size. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Throw if the shape of zero_point is not the same as the shape of input. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Throw if the data type of input is not the same as scale. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Throw if the data type of input is not float32 or float16. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Throw if the data type of scale is not float32 or float16. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] Throw if the data type of zeroPoint is not int8 or uint8. | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] throw if input is from another builder | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] throw if scale is from another builder | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [quantizeLinear] throw if zeroPoint is from another builder | PASS | FAIL | FAIL | FAIL | FAIL | — |