onnxruntime/onnxruntime/core/flatbuffers
Scott McKay cbe4eb65b3
Add backwards compatibility for all versions of ORT format model in full build. (#13242)
### Description
<!-- Describe your changes. -->
Add ability to upgrade an ORT format model when loaded in a full build
by inserting the kernel constraint info and ignoring the kernel hashes.

This also allows upgrading the model to the latest format by saving the
model after loading.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
Provide official path to upgrading an ORT format model directly (vs.
reconverting).

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2022-10-12 17:45:52 +10:00
..
ort_flatbuffers_py Update kernel matching logic: decouple from op schemas and remove kernel def hashes (#12791) 2022-09-20 14:24:59 -07:00
schema Update kernel matching logic: decouple from op schemas and remove kernel def hashes (#12791) 2022-09-20 14:24:59 -07:00
flatbuffers_utils.cc Update kernel matching logic: decouple from op schemas and remove kernel def hashes (#12791) 2022-09-20 14:24:59 -07:00
flatbuffers_utils.h Update kernel matching logic: decouple from op schemas and remove kernel def hashes (#12791) 2022-09-20 14:24:59 -07:00
ort_format_version.h Add backwards compatibility for all versions of ORT format model in full build. (#13242) 2022-10-12 17:45:52 +10:00