-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[js/web] fix suite test list for zero sized tensor (#19638)
### Description Fixes build break brought by #19614 Currently WebGL backend does not support zero sized tensor. This change split test data into 2 parts, and only enable zero sized tensor tests for WebGPU.
- Loading branch information
Showing
4 changed files
with
594 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[ | ||
{ | ||
"name": "Add with no attributes", | ||
"operator": "Add", | ||
"attributes": [], | ||
"cases": [ | ||
{ | ||
"name": "T[2,0] T[2,1]", | ||
"inputs": [ | ||
{ | ||
"data": [], | ||
"dims": [2, 0], | ||
"type": "float32" | ||
}, | ||
{ | ||
"data": [1, 2], | ||
"dims": [2, 1], | ||
"type": "float32" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"data": [], | ||
"dims": [2, 0], | ||
"type": "float32" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.