mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-19 21:32:23 +00:00
### Description Implement Objective-C binding for `ORTCheckPoint`. Additionally, - Modify `onnxruntime_objectivec.cmake` to only include training header and sources when training flag is enabled - Enable objective-c binding for `orttraining-mac-ci-pipeline` ### Motivation and Context This PR is part of implementing Objective-C bindings for training API. It implements objective-c binding for ORTCheckPoint class. The objective-C API closely resembles the C++ API. **Note**: The test for saving checkpoint is skipped as it requires use of training session. It will be added when the objective-c binding for `ORTTrainingSession` is added. |
||
|---|---|---|
| .. | ||
| docs | ||
| include | ||
| test | ||
| assert_arc_enabled.mm | ||
| cxx_api.h | ||
| error_utils.h | ||
| error_utils.mm | ||
| format_objc.sh | ||
| ort_checkpoint.mm | ||
| ort_checkpoint_internal.h | ||
| ort_coreml_execution_provider.mm | ||
| ort_enums.mm | ||
| ort_enums_internal.h | ||
| ort_env.mm | ||
| ort_env_internal.h | ||
| ort_session.mm | ||
| ort_session_internal.h | ||
| ort_value.mm | ||
| ort_value_internal.h | ||
| ort_xnnpack_execution_provider.mm | ||
| ReadMe.md | ||
NOTE: Flat directory structure to work with both the Objective-C build and the Swift Package Manager build which is done via ../Package.swift