mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
Revert "[WebNN EP] Rename op logicalNot to not" (#18997)
Reverts microsoft/onnxruntime#18936 WebNN spec is discussing using the `logicalNot` name at https://github.com/webmachinelearning/webnn/issues/496, and the Chromium implementation has suspended the renaming change. For consistent, we should keep using `logicalNot` in WebNN EP util it is finalized.
This commit is contained in:
parent
e155c66b4a
commit
7f0aac0d8a
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", {"not", false}},
|
||||
{"Not", {"logicalNot", 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>("not", input);
|
||||
output = model_builder.GetBuilder().call<emscripten::val>("logicalNot", 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