Skip to content

Commit 254b543

Browse files
axingingfs-eire
authored andcommitted
[js/webgpu] Add FusedConv clip test case (#18900)
Bug: #18899
1 parent c44d497 commit 254b543

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

js/web/test/data/ops/fused-conv.jsonc

+34
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,39 @@
108108
]
109109
}
110110
]
111+
},
112+
{
113+
"name": "fused conv with clip",
114+
"operator": "FusedConv",
115+
"attributes": [
116+
{ "name": "activation", "data": "Clip", "type": "string" },
117+
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" },
118+
{ "name": "activation_params", "data": [400.0, 600.0], "type": "floats" }
119+
],
120+
"opset": { "domain": "com.microsoft", "version": 1 },
121+
"cases": [
122+
{
123+
"name": "T[0]",
124+
"inputs": [
125+
{
126+
"data": [10, 20, 30, 40, 50, 60, 70, 80, 90],
127+
"dims": [1, 1, 3, 3],
128+
"type": "float32"
129+
},
130+
{
131+
"data": [1, 2, 3, 4],
132+
"dims": [1, 1, 2, 2],
133+
"type": "float32"
134+
}
135+
],
136+
"outputs": [
137+
{
138+
"data": [400, 470, 600, 600],
139+
"dims": [1, 1, 2, 2],
140+
"type": "float32"
141+
}
142+
]
143+
}
144+
]
111145
}
112146
]

0 commit comments

Comments
 (0)