Skip to content

Commit 9d20f3a

Browse files
philloooochromium-wpt-export-bot
authored andcommitted
webnn: emulate for quantizeLinear on coreml
Change-Id: I8dd7669f6951f56be0532da7ad894c5c5a276918 Bug: 338529226 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6394003 Reviewed-by: Reilly Grant <[email protected]> Commit-Queue: Phillis Tang <[email protected]> Cr-Commit-Position: refs/heads/main@{#1439116}
1 parent 0cf823d commit 9d20f3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webnn/conformance_tests/quantizeLinear.https.any.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const quantizeLinearTests = [
202202
'constant': true
203203
},
204204
'quantizeLinearScale': {
205-
'data': [0.2800687253475189, -4.617084980010986],
205+
'data': [0.2800687253475189, 4.617084980010986],
206206
'descriptor': {shape: [2, 1], dataType: 'float32'},
207207
'constant': true
208208
},
@@ -222,7 +222,7 @@ const quantizeLinearTests = [
222222
}],
223223
'expectedOutputs': {
224224
'quantizeLinearOutput': {
225-
'data': [119, 111, 126, 127],
225+
'data': [119, 111, 130, 129],
226226
'descriptor': {shape: [1, 1, 2, 2], dataType: 'uint8'}
227227
}
228228
}

0 commit comments

Comments
 (0)