Skip to content

Commit 3677f55

Browse files
authored
[QNN-EP] Add inverse Op to QNN EP (#26068)
### Description Add Inverse Op from com.microsoft domain to QNN EP. ### Motivation and Context Add Inverse Op from com.microsoft domain to QNN EP. --------- Signed-off-by: Mu-Chein Hsu <quic_muchhsu@quicinc.com>
1 parent 1365099 commit 3677f55

File tree

4 files changed

+564
-0
lines changed

4 files changed

+564
-0
lines changed

onnxruntime/core/providers/qnn/builder/op_builder_factory.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ OpBuilderRegistrations::OpBuilderRegistrations() {
211211
{
212212
CreateThresholdedReluOpBuilder("ThresholdedRelu", *this);
213213
}
214+
215+
{
216+
CreateInverseOpBuilder("Inverse", *this);
217+
}
214218
}
215219

216220
const IOpBuilder* GetOpBuilder(const std::string& onnx_op_type) {

onnxruntime/core/providers/qnn/builder/op_builder_factory.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,7 @@ void CreateModOpBuilder(const std::string& op_type, OpBuilderRegistrations& op_r
119119

120120
void CreateThresholdedReluOpBuilder(const std::string& op_type, OpBuilderRegistrations& op_registrations);
121121

122+
void CreateInverseOpBuilder(const std::string& op_type, OpBuilderRegistrations& op_registrations);
123+
122124
} // namespace qnn
123125
} // namespace onnxruntime

0 commit comments

Comments
 (0)