Skip to content

Commit

Permalink
Update model.mm
Browse files Browse the repository at this point in the history
  • Loading branch information
pacowong authored Feb 3, 2025
1 parent c8be7de commit 759eb6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/coreml/model/model.mm
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ void ProfileComputePlan(NSURL* compileUrl, MLModelConfiguration* config) {
#define HAS_COREMLOPTIMIZATIONHINT 0
#endif

API_AVAILABLE_COREML8
API_AVAILABLE(macos(14.4), ios(17.4))
void ConfigureOptimizationHints(MLModelConfiguration* config, const CoreMLOptions& coreml_options) {
#if HAS_COREMLOPTIMIZATIONHINT
MLOptimizationHints* optimizationHints = [[MLOptimizationHints alloc] init];
Expand Down

0 comments on commit 759eb6c

Please sign in to comment.