summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webnn/resources/test_data/max_pool2d.json
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/webnn/resources/test_data/max_pool2d.json')
-rw-r--r--testing/web-platform/tests/webnn/resources/test_data/max_pool2d.json335
1 files changed, 0 insertions, 335 deletions
diff --git a/testing/web-platform/tests/webnn/resources/test_data/max_pool2d.json b/testing/web-platform/tests/webnn/resources/test_data/max_pool2d.json
index 4532843d2b..216b4c55dd 100644
--- a/testing/web-platform/tests/webnn/resources/test_data/max_pool2d.json
+++ b/testing/web-platform/tests/webnn/resources/test_data/max_pool2d.json
@@ -464,340 +464,6 @@
}
},
{
- "name": "maxPool2d float32 4D tensor options.autoPad=explicit",
- "inputs": {
- "input": {
- "shape": [1, 2, 5, 5],
- "data": [
- 89.00830216793153,
- -45.720390400208274,
- -61.3061304134967,
- -4.014514560596496,
- -94.54893342858352,
- 46.28090328619564,
- 99.28312923953135,
- -10.057873368956962,
- 9.742474583994337,
- -39.03501766575275,
- 75.08192382950091,
- 12.819415189421207,
- -33.01505690327188,
- 38.691340789603316,
- 66.09259104681504,
- 97.903480409299,
- -8.737769993284147,
- -53.4216238072017,
- 72.10852084777076,
- -40.42309116918719,
- -35.68864442661396,
- -87.64779401381033,
- 38.87424286093716,
- 39.38360329656629,
- 7.429088108317444,
- -76.72171237621149,
- 50.21706410294061,
- -52.89547724835329,
- -44.64233565670091,
- -97.86752535352848,
- 81.73119248706783,
- 5.428491238061412,
- -29.227728678237995,
- 72.44899280781078,
- -59.34124718116585,
- 39.19959912145927,
- -65.99438957588619,
- -4.204323589500888,
- -60.5458643662661,
- 55.89052583821697,
- 80.30483906634527,
- 72.88830243502153,
- -46.59610987974246,
- 20.503878887964206,
- -31.126462826158445,
- -57.29456052682171,
- -26.62357805164706,
- 15.93575469730375,
- -78.77953474824318,
- 72.33577555559427
- ],
- "type": "float32"
- }
- },
- "options": {
- "padding": [1, 0, 0, 1],
- "autoPad": "explicit"
- },
- "expected": {
- "name": "output",
- "shape": [1, 2, 2, 2],
- "data": [
- 99.28312683105469,
- 99.28312683105469,
- 99.28312683105469,
- 99.28312683105469,
- 81.73119354248047,
- 72.8883056640625,
- 81.73119354248047,
- 72.8883056640625
- ],
- "type": "float32"
- }
- },
- {
- "name": "maxPool2d float32 4D tensor options.autoPad=same-upper",
- "inputs": {
- "input": {
- "shape": [1, 2, 4, 4],
- "data": [
- 90.19580379109371,
- 3.100482753598527,
- 25.328822520960074,
- 95.79016799138552,
- -28.66704447898583,
- -95.44752500898142,
- -4.985161962403197,
- -8.48460109616957,
- -80.97691341362152,
- -17.005109111308727,
- -6.038760193142295,
- 38.40922446364979,
- -7.992178512477196,
- 81.2006267730795,
- 20.61885063772428,
- -33.95224998477518,
- -96.69404524982971,
- -80.66036026545542,
- 14.05812623156973,
- 71.19384576769727,
- 90.27735528668126,
- -98.09758264975711,
- 79.82735855507025,
- 51.29492635990994,
- 97.67522462775861,
- -28.093948900517333,
- 6.811551163368804,
- 62.81929061329504,
- -74.77656671772914,
- 81.95471994368236,
- 79.12276218750796,
- -79.67557686936195
- ],
- "type": "float32"
- }
- },
- "options": {
- "windowDimensions": [3, 3],
- "strides": [2, 2],
- "autoPad": "same-upper"
- },
- "expected": {
- "name": "output",
- "shape": [1, 2, 2, 2],
- "data": [
- 90.19580078125,
- 95.79016876220703,
- 81.20063018798828,
- 38.40922546386719,
- 97.67522430419922,
- 79.82736206054688,
- 97.67522430419922,
- 79.12276458740234
- ],
- "type": "float32"
- }
- },
- {
- "name": "maxPool2d float32 4D tensor options.autoPad=same-lower",
- "inputs": {
- "input": {
- "shape": [1, 2, 4, 4],
- "data": [
- 90.19580379109371,
- 3.100482753598527,
- 25.328822520960074,
- 95.79016799138552,
- -28.66704447898583,
- -95.44752500898142,
- -4.985161962403197,
- -8.48460109616957,
- -80.97691341362152,
- -17.005109111308727,
- -6.038760193142295,
- 38.40922446364979,
- -7.992178512477196,
- 81.2006267730795,
- 20.61885063772428,
- -33.95224998477518,
- -96.69404524982971,
- -80.66036026545542,
- 14.05812623156973,
- 71.19384576769727,
- 90.27735528668126,
- -98.09758264975711,
- 79.82735855507025,
- 51.29492635990994,
- 97.67522462775861,
- -28.093948900517333,
- 6.811551163368804,
- 62.81929061329504,
- -74.77656671772914,
- 81.95471994368236,
- 79.12276218750796,
- -79.67557686936195
- ],
- "type": "float32"
- }
- },
- "options": {
- "windowDimensions": [3, 3],
- "strides": [2, 2],
- "autoPad": "same-lower"
- },
- "expected": {
- "name": "output",
- "shape": [1, 2, 2, 2],
- "data": [
- 90.19580078125,
- 95.79016876220703,
- 81.20063018798828,
- 81.20063018798828,
- 90.27735900878906,
- 79.82736206054688,
- 97.67522430419922,
- 81.95471954345703
- ],
- "type": "float32"
- }
- },
- {
- "name": "maxPool2d float32 4D tensor options.autoPad=same-upper ignores options.padding",
- "inputs": {
- "input": {
- "shape": [1, 2, 4, 4],
- "data": [
- 90.19580379109371,
- 3.100482753598527,
- 25.328822520960074,
- 95.79016799138552,
- -28.66704447898583,
- -95.44752500898142,
- -4.985161962403197,
- -8.48460109616957,
- -80.97691341362152,
- -17.005109111308727,
- -6.038760193142295,
- 38.40922446364979,
- -7.992178512477196,
- 81.2006267730795,
- 20.61885063772428,
- -33.95224998477518,
- -96.69404524982971,
- -80.66036026545542,
- 14.05812623156973,
- 71.19384576769727,
- 90.27735528668126,
- -98.09758264975711,
- 79.82735855507025,
- 51.29492635990994,
- 97.67522462775861,
- -28.093948900517333,
- 6.811551163368804,
- 62.81929061329504,
- -74.77656671772914,
- 81.95471994368236,
- 79.12276218750796,
- -79.67557686936195
- ],
- "type": "float32"
- }
- },
- "options": {
- "windowDimensions": [3, 3],
- "padding": [2, 2, 2, 2],
- "strides": [2, 2],
- "autoPad": "same-upper"
- },
- "expected": {
- "name": "output",
- "shape": [1, 2, 2, 2],
- "data": [
- 90.19580078125,
- 95.79016876220703,
- 81.20063018798828,
- 38.40922546386719,
- 97.67522430419922,
- 79.82736206054688,
- 97.67522430419922,
- 79.12276458740234
- ],
- "type": "float32"
- }
- },
- {
- "name": "maxPool2d float32 4D tensor options.autoPad=same-lower ignores options.padding",
- "inputs": {
- "input": {
- "shape": [1, 2, 4, 4],
- "data": [
- 90.19580379109371,
- 3.100482753598527,
- 25.328822520960074,
- 95.79016799138552,
- -28.66704447898583,
- -95.44752500898142,
- -4.985161962403197,
- -8.48460109616957,
- -80.97691341362152,
- -17.005109111308727,
- -6.038760193142295,
- 38.40922446364979,
- -7.992178512477196,
- 81.2006267730795,
- 20.61885063772428,
- -33.95224998477518,
- -96.69404524982971,
- -80.66036026545542,
- 14.05812623156973,
- 71.19384576769727,
- 90.27735528668126,
- -98.09758264975711,
- 79.82735855507025,
- 51.29492635990994,
- 97.67522462775861,
- -28.093948900517333,
- 6.811551163368804,
- 62.81929061329504,
- -74.77656671772914,
- 81.95471994368236,
- 79.12276218750796,
- -79.67557686936195
- ],
- "type": "float32"
- }
- },
- "options": {
- "windowDimensions": [3, 3],
- "padding": [2, 2, 2, 2],
- "strides": [2, 2],
- "autoPad": "same-lower"
- },
- "expected": {
- "name": "output",
- "shape": [1, 2, 2, 2],
- "data": [
- 90.19580078125,
- 95.79016876220703,
- 81.20063018798828,
- 81.20063018798828,
- 90.27735900878906,
- 79.82736206054688,
- 97.67522430419922,
- 81.95471954345703
- ],
- "type": "float32"
- }
- },
- {
"name": "maxPool2d float32 4D tensor options.layout=nchw",
"inputs": {
"input": {
@@ -1404,7 +1070,6 @@
"options": {
"windowDimensions": [3, 3],
"padding": [1, 0, 0, 1],
- "autoPad": "explicit",
"strides": [2, 2],
"dilations": [1, 1],
"layout": "nhwc"