summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webnn/resources/test_data/conv2d.json
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/webnn/resources/test_data/conv2d.json')
-rw-r--r--testing/web-platform/tests/webnn/resources/test_data/conv2d.json351
1 files changed, 0 insertions, 351 deletions
diff --git a/testing/web-platform/tests/webnn/resources/test_data/conv2d.json b/testing/web-platform/tests/webnn/resources/test_data/conv2d.json
index 5f8cd814a9..13e6b17242 100644
--- a/testing/web-platform/tests/webnn/resources/test_data/conv2d.json
+++ b/testing/web-platform/tests/webnn/resources/test_data/conv2d.json
@@ -421,356 +421,6 @@
}
},
{
- "name": "conv2d float32 4D input and filter tensors options.padding and options.autoPad='explicit'",
- "inputs": {
- "input": {
- "shape": [1, 1, 5, 5],
- "data": [
- 0.6124474607869732,
- 0.8857858599952035,
- 0.13667134799354397,
- 0.564529098909835,
- 0.8965171985225997,
- 0.36792828664768873,
- 0.6811466319147079,
- 0.04795110047019757,
- 0.33355462154327986,
- 0.19882695924603588,
- 0.4116714070095846,
- 0.07934240242135737,
- 0.42724633975875426,
- 0.5358005687699703,
- 0.5910805999797129,
- 0.2841543363273238,
- 0.414725865128835,
- 0.026906268886554896,
- 0.3621256577250671,
- 0.9945681862504354,
- 0.07184549434969778,
- 0.1220437231354885,
- 0.8422137325421886,
- 0.4537501021068471,
- 0.2152944303497728
- ],
- "type": "float32"
- },
- "filter": {
- "shape": [1, 1, 3, 3],
- "data": [
- 0.3804761331189006,
- 0.5280312082437455,
- 0.2194703660873738,
- 0.3668976886827289,
- 0.33974137307686836,
- 0.42000596251782674,
- 0.38050310131155185,
- 0.19443586243810795,
- 0.5686976617292392
- ],
- "type": "float32",
- "constant": true
- }
- },
- "options": {
- "padding": [1, 1, 1, 1],
- "autoPad": "explicit"
- },
- "expected": {
- "name": "output",
- "shape": [1, 1, 5, 5],
- "data": [
- 1.0390141010284424,
- 0.882753312587738,
- 1.0667248964309692,
- 0.8146538734436035,
- 0.6772860884666443,
- 1.0540467500686646,
- 1.5323282480239868,
- 1.3573521375656128,
- 1.3641656637191772,
- 1.1969101428985596,
- 0.8080586791038513,
- 1.071682333946228,
- 1.1259644031524658,
- 1.4713115692138672,
- 0.960464596748352,
- 0.5888903141021729,
- 1.078782320022583,
- 1.155018925666809,
- 1.656954288482666,
- 1.2012416124343872,
- 0.3167303800582886,
- 0.7545653581619263,
- 0.7729666829109192,
- 0.9733180403709412,
- 0.9025675058364868
- ],
- "type": "float32"
- }
- },
- {
- "name": "conv2d float32 4D input and filter tensors options.autoPad='same-upper'",
- "inputs": {
- "input": {
- "shape": [1, 1, 4, 4],
- "data": [
- 0.9371488026117993,
- 0.4742464662522563,
- 0.6571340852996714,
- 0.8399660616881559,
- 0.3286228380482863,
- 0.09911389391233816,
- 0.008774675079729732,
- 0.49592297038960576,
- 0.6906991955372042,
- 0.40363236211387643,
- 0.08385655421112803,
- 0.7818648489403492,
- 0.7862677667715321,
- 0.8178903833064657,
- 0.9872956148300345,
- 0.1289262831549154
- ],
- "type": "float32"
- },
- "filter": {
- "shape": [1, 1, 3, 3],
- "data": [
- 0.3804761331189006,
- 0.5280312082437455,
- 0.2194703660873738,
- 0.3668976886827289,
- 0.33974137307686836,
- 0.42000596251782674,
- 0.38050310131155185,
- 0.19443586243810795,
- 0.5686976617292392
- ],
- "type": "float32",
- "constant": true
- }
- },
- "options": {
- "strides": [2, 2],
- "autoPad": "same-upper"
- },
- "expected": {
- "name": "output",
- "shape": [1, 1, 2, 2],
- "data": [
- 1.298113465309143,
- 1.0491873025894165,
- 1.475350260734558,
- 0.8507925271987915
- ],
- "type": "float32"
- }
- },
- {
- "name": "conv2d float32 4D input and filter tensors options.autoPad='same-upper' ignores options.padding",
- "inputs": {
- "input": {
- "shape": [1, 1, 4, 4],
- "data": [
- 0.9371488026117993,
- 0.4742464662522563,
- 0.6571340852996714,
- 0.8399660616881559,
- 0.3286228380482863,
- 0.09911389391233816,
- 0.008774675079729732,
- 0.49592297038960576,
- 0.6906991955372042,
- 0.40363236211387643,
- 0.08385655421112803,
- 0.7818648489403492,
- 0.7862677667715321,
- 0.8178903833064657,
- 0.9872956148300345,
- 0.1289262831549154
- ],
- "type": "float32"
- },
- "filter": {
- "shape": [1, 1, 3, 3],
- "data": [
- 0.3804761331189006,
- 0.5280312082437455,
- 0.2194703660873738,
- 0.3668976886827289,
- 0.33974137307686836,
- 0.42000596251782674,
- 0.38050310131155185,
- 0.19443586243810795,
- 0.5686976617292392
- ],
- "type": "float32",
- "constant": true
- }
- },
- "options": {
- "padding": [1, 2, 1, 2],
- "strides": [2, 2],
- "autoPad": "same-upper"
- },
- "expected": {
- "name": "output",
- "shape": [1, 1, 2, 2],
- "data": [
- 1.298113465309143,
- 1.0491873025894165,
- 1.475350260734558,
- 0.8507925271987915
- ],
- "type": "float32"
- }
- },
- {
- "name": "conv2d float32 4D input and filter tensors options.autoPad='same-lower'",
- "inputs": {
- "input": {
- "shape": [1, 1, 5, 5],
- "data": [
- 0.6124474607869732,
- 0.8857858599952035,
- 0.13667134799354397,
- 0.564529098909835,
- 0.8965171985225997,
- 0.36792828664768873,
- 0.6811466319147079,
- 0.04795110047019757,
- 0.33355462154327986,
- 0.19882695924603588,
- 0.4116714070095846,
- 0.07934240242135737,
- 0.42724633975875426,
- 0.5358005687699703,
- 0.5910805999797129,
- 0.2841543363273238,
- 0.414725865128835,
- 0.026906268886554896,
- 0.3621256577250671,
- 0.9945681862504354,
- 0.07184549434969778,
- 0.1220437231354885,
- 0.8422137325421886,
- 0.4537501021068471,
- 0.2152944303497728
- ],
- "type": "float32"
- },
- "filter": {
- "shape": [1, 1, 3, 3],
- "data": [
- 0.3804761331189006,
- 0.5280312082437455,
- 0.2194703660873738,
- 0.3668976886827289,
- 0.33974137307686836,
- 0.42000596251782674,
- 0.38050310131155185,
- 0.19443586243810795,
- 0.5686976617292392
- ],
- "type": "float32",
- "constant": true
- }
- },
- "options": {
- "strides": [2, 2],
- "autoPad": "same-lower"
- },
- "expected": {
- "name": "output",
- "shape": [1, 1, 3, 3],
- "data": [
- 1.0390141010284424,
- 1.0667248964309692,
- 0.6772860884666443,
- 0.8080586791038513,
- 1.1259644031524658,
- 0.960464596748352,
- 0.3167303800582886,
- 0.7729666829109192,
- 0.9025675058364868
- ],
- "type": "float32"
- }
- },
- {
- "name": "conv2d float32 4D input and filter tensors options.autoPad='same-lower' ignores options.padding",
- "inputs": {
- "input": {
- "shape": [1, 1, 5, 5],
- "data": [
- 0.6124474607869732,
- 0.8857858599952035,
- 0.13667134799354397,
- 0.564529098909835,
- 0.8965171985225997,
- 0.36792828664768873,
- 0.6811466319147079,
- 0.04795110047019757,
- 0.33355462154327986,
- 0.19882695924603588,
- 0.4116714070095846,
- 0.07934240242135737,
- 0.42724633975875426,
- 0.5358005687699703,
- 0.5910805999797129,
- 0.2841543363273238,
- 0.414725865128835,
- 0.026906268886554896,
- 0.3621256577250671,
- 0.9945681862504354,
- 0.07184549434969778,
- 0.1220437231354885,
- 0.8422137325421886,
- 0.4537501021068471,
- 0.2152944303497728
- ],
- "type": "float32"
- },
- "filter": {
- "shape": [1, 1, 3, 3],
- "data": [
- 0.3804761331189006,
- 0.5280312082437455,
- 0.2194703660873738,
- 0.3668976886827289,
- 0.33974137307686836,
- 0.42000596251782674,
- 0.38050310131155185,
- 0.19443586243810795,
- 0.5686976617292392
- ],
- "type": "float32",
- "constant": true
- }
- },
- "options": {
- "padding": [1, 2, 1, 2],
- "strides": [2, 2],
- "autoPad": "same-lower"
- },
- "expected": {
- "name": "output",
- "shape": [1, 1, 3, 3],
- "data": [
- 1.0390141010284424,
- 1.0667248964309692,
- 0.6772860884666443,
- 0.8080586791038513,
- 1.1259644031524658,
- 0.960464596748352,
- 0.3167303800582886,
- 0.7729666829109192,
- 0.9025675058364868
- ],
- "type": "float32"
- }
- },
- {
"name": "depthwise conv2d float32 4D input and filter tensors options.groups= input_channels",
"inputs": {
"input": {
@@ -1990,7 +1640,6 @@
"options": {
"padding": [1, 0, 0, 1],
"strides": [1, 1],
- "autoPad": "explicit",
"dilations": [1, 1],
"groups": 2,
"inputLayout": "nchw",