[js/webgpu] Add FusedConv clip test case (#18900)

Bug: https://github.com/microsoft/onnxruntime/issues/18899
This commit is contained in:
Xu Xing 2024-01-24 00:25:05 +08:00 committed by GitHub
parent 6ca7c1a933
commit 61610ff986
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,5 +108,39 @@
]
}
]
},
{
"name": "fused conv with clip",
"operator": "FusedConv",
"attributes": [
{ "name": "activation", "data": "Clip", "type": "string" },
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" },
{ "name": "activation_params", "data": [400.0, 600.0], "type": "floats" }
],
"opset": { "domain": "com.microsoft", "version": 1 },
"cases": [
{
"name": "T[0]",
"inputs": [
{
"data": [10, 20, 30, 40, 50, 60, 70, 80, 90],
"dims": [1, 1, 3, 3],
"type": "float32"
},
{
"data": [1, 2, 3, 4],
"dims": [1, 1, 2, 2],
"type": "float32"
}
],
"outputs": [
{
"data": [400, 470, 600, 600],
"dims": [1, 1, 2, 2],
"type": "float32"
}
]
}
]
}
]