mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-04 04:07:22 +00:00
Enable some ops for QDQ Node Unit support (#14701)
### Description Enable some ops for QDQ Node Unit support: Flatten, Split, GlobalAveragePool, ReduceMean, Relu, Sigmoid, Sqrt, Div, Mul, Pow, Sub.
This commit is contained in:
parent
892f59b31a
commit
0dda42b46c
1 changed files with 12 additions and 2 deletions
|
|
@ -30,21 +30,31 @@ void Selectors::RegisterSelector(const OpVersionsAndSelector::OpVersionsMap& ops
|
|||
static const OpVersionsAndSelector::OpVersionsMap GetMiscOpVersionsMap() {
|
||||
return {{"Gather", {}},
|
||||
{"Reshape", {}},
|
||||
{"Flatten", {}},
|
||||
{"Transpose", {}},
|
||||
{"MaxPool", {12}},
|
||||
{"Resize", {}},
|
||||
{"Split", {}},
|
||||
{"Squeeze", {}},
|
||||
{"Unsqueeze", {}}};
|
||||
}
|
||||
|
||||
static const OpVersionsAndSelector::OpVersionsMap GetUnaryOpVersionsMap() {
|
||||
return {{"AveragePool", {}},
|
||||
{"GlobalAveragePool", {}},
|
||||
{"LeakyRelu", {}},
|
||||
{"ReduceMean", {}},
|
||||
{"Relu", {}},
|
||||
{"Sigmoid", {}},
|
||||
{"Softmax", {}},
|
||||
{"LeakyRelu", {}}};
|
||||
{"Sqrt", {}}};
|
||||
}
|
||||
static const OpVersionsAndSelector::OpVersionsMap GetBinaryOpVersionsMap() {
|
||||
return {{"Add", {}},
|
||||
{"Mul", {}}};
|
||||
{"Div", {}},
|
||||
{"Mul", {}},
|
||||
{"Pow", {}},
|
||||
{"Sub", {}}};
|
||||
}
|
||||
static const OpVersionsAndSelector::OpVersionsMap GetVariadicOpVersionsMap() {
|
||||
return {{"Concat", {}}};
|
||||
|
|
|
|||
Loading…
Reference in a new issue