mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-22 19:23:30 +00:00
[WebNN EP] Rename op logicalNot to not (#18936)
WebNN latest spec uses the name 'not'.
This commit is contained in:
parent
44584c3ebe
commit
a3626b67b3
2 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ static const InlinedHashMap<std::string, WebnnOpInfo> op_map = {
|
|||
{"Min", {"min", true}},
|
||||
{"Mul", {"mul", true}},
|
||||
{"Neg", {"neg", true}},
|
||||
{"Not", {"logicalNot", false}},
|
||||
{"Not", {"not", false}},
|
||||
{"Pad", {"pad", true}},
|
||||
{"Pow", {"pow", false}},
|
||||
{"PRelu", {"prelu", true}},
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ Status UnaryOpBuilder::AddToModelBuilderImpl(ModelBuilder& model_builder, const
|
|||
} else if (op_type == "Neg") {
|
||||
output = model_builder.GetBuilder().call<emscripten::val>("neg", input);
|
||||
} else if (op_type == "Not") {
|
||||
output = model_builder.GetBuilder().call<emscripten::val>("logicalNot", input);
|
||||
output = model_builder.GetBuilder().call<emscripten::val>("not", input);
|
||||
} else if (op_type == "Reciprocal") {
|
||||
output = model_builder.GetBuilder().call<emscripten::val>("reciprocal", input);
|
||||
} else if (op_type == "Sin") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue