[WebNN EP] Change some support status for XNNPack backend (#18858)

WebNN XNNPack backend doesn't really support `pow` and `reduceSum`, and will support `sqrt` very soon.
This commit is contained in:
Wanming Lin 2023-12-22 07:16:44 +08:00 committed by GitHub
parent 1b64d30963
commit 4c3705cbea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@ static const InlinedHashMap<std::string, WebnnOpInfo> op_map = {
{"Neg", {"neg", true}},
{"Not", {"logicalNot", false}},
{"Pad", {"pad", true}},
{"Pow", {"pow", true}},
{"Pow", {"pow", false}},
{"PRelu", {"prelu", true}},
{"Reciprocal", {"reciprocal", false}},
{"ReduceL1", {"reduceL1", false}},
@ -192,7 +192,7 @@ static const InlinedHashMap<std::string, WebnnOpInfo> op_map = {
{"ReduceMean", {"reduceMean", true}},
{"ReduceMin", {"reduceMin", false}},
{"ReduceProd", {"reduceProduct", false}},
{"ReduceSum", {"reduceSum", true}},
{"ReduceSum", {"reduceSum", false}},
{"ReduceSumSquare", {"reduceSumSquare", false}},
{"Relu", {"relu", true}},
{"Reshape", {"reshape", true}},
@ -205,7 +205,7 @@ static const InlinedHashMap<std::string, WebnnOpInfo> op_map = {
{"Slice", {"slice", true}},
{"Softmax", {"softmax", true}},
{"Split", {"split", true}},
{"Sqrt", {"sqrt", false}},
{"Sqrt", {"sqrt", true}},
{"Squeeze", {"reshape", true}},
{"Sub", {"sub", true}},
{"Tan", {"tan", false}},