Skip to content

Commit

Permalink
[webnn] Add a squeeze test of eliminating all dimensions for float32 …
Browse files Browse the repository at this point in the history
…4D tensor.
  • Loading branch information
BruceDai committed Dec 8, 2022
1 parent 687dbe3 commit aadbca1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions webnn/resources/test_data/squeeze.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,23 @@
"type": "float32"
}
},
{
"name": "squeeze float32 4D tensor by eliminating all dimensions default options",
"inputs": {
"input": {
"shape": [1, 1, 1, 1],
"data": [
19.404981030500302
],
"type": "float32"
}
},
"expected": {
"name": "output",
"data": 19.40498161315918,
"type": "float32"
}
},
{
"name": "squeeze float32 5D tensor by eliminating four dimensions default options",
"inputs": {
Expand Down

0 comments on commit aadbca1

Please sign in to comment.