mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
[js/webgpu] Add FusedConv clip test case (#18900)
Bug: https://github.com/microsoft/onnxruntime/issues/18899
This commit is contained in:
parent
6ca7c1a933
commit
61610ff986
1 changed files with 34 additions and 0 deletions
|
|
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue