mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Add noexcep_operators to onnxruntime internal libraries (#17850)
This commit is contained in:
parent
406cd324e0
commit
9c716f4557
2 changed files with 1 additions and 1 deletions
|
|
@ -217,6 +217,7 @@ if (onnxruntime_USE_EXTENSIONS)
|
|||
list(APPEND onnxruntime_INTERNAL_LIBRARIES
|
||||
onnxruntime_extensions
|
||||
ocos_operators
|
||||
noexcep_operators
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -795,7 +795,6 @@ common::Status CreateCustomRegistry(gsl::span<OrtCustomOpDomain* const> op_domai
|
|||
// GetInputMemoryType was introduced in ver 13. This check allows custom ops compiled using older versions
|
||||
// to work with newer versions (> 12) of the ORT binary.
|
||||
if (op->version > 12) {
|
||||
auto input_count = op->GetInputTypeCount(op);
|
||||
for (size_t i = 0; i < input_count; i++) {
|
||||
def_builder.InputMemoryType(op->GetInputMemoryType(op, i), i);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue