Skip to content

Commit

Permalink
Rename not op to logicalNot op
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceDai committed Nov 28, 2023
1 parent 42a798a commit 75c0395
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"tests": [
{
"name": "not uint8 0D scalar",
"name": "logicalNot uint8 0D scalar",
"inputs": {
"x": {
"shape": [],
Expand All @@ -21,7 +21,7 @@
}
},
{
"name": "not uint8 1D tensor",
"name": "logicalNot uint8 1D tensor",
"inputs": {
"x": {
"shape": [24],
Expand Down Expand Up @@ -87,7 +87,7 @@
}
},
{
"name": "not uint8 2D tensor",
"name": "logicalNot uint8 2D tensor",
"inputs": {
"x": {
"shape": [4, 6],
Expand Down Expand Up @@ -153,7 +153,7 @@
}
},
{
"name": "not uint8 3D tensor",
"name": "logicalNot uint8 3D tensor",
"inputs": {
"x": {
"shape": [2, 3, 4],
Expand Down Expand Up @@ -219,7 +219,7 @@
}
},
{
"name": "not uint8 4D tensor",
"name": "logicalNot uint8 4D tensor",
"inputs": {
"x": {
"shape": [2, 2, 2, 3],
Expand Down Expand Up @@ -285,7 +285,7 @@
}
},
{
"name": "not uint8 5D tensor",
"name": "logicalNot uint8 5D tensor",
"inputs": {
"x": {
"shape": [2, 1, 4, 1, 3],
Expand Down
2 changes: 1 addition & 1 deletion webnn/resources/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ const PrecisionMetrics = {
greaterOrEqual: {ULP: {uint8: 0}},
lesser: {ULP: {uint8: 0}},
lesserOrEqual: {ULP: {uint8: 0}},
not: {ULP: {uint8: 0}},
logicalNot: {ULP: {uint8: 0}},
// End Element-wise logical operations
// Begin Element-wise unary operations
abs: {ULP: {float32: 0, float16: 0}},
Expand Down

0 comments on commit 75c0395

Please sign in to comment.