Skip to content

Commit

Permalink
[js/webgpu] Add FusedConv clip test case (#18900)
Browse files Browse the repository at this point in the history
Bug: #18899
  • Loading branch information
axinging authored Jan 23, 2024
1 parent 6ca7c1a commit 61610ff
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions js/web/test/data/ops/fused-conv.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
]
}
]

0 comments on commit 61610ff

Please sign in to comment.