Skip to content

Commit 759eb6c

Browse files
authored
Update model.mm
1 parent c8be7de commit 759eb6c

File tree

1 file changed

+1
-1
lines changed
  • onnxruntime/core/providers/coreml/model

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/coreml/model/model.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ void ProfileComputePlan(NSURL* compileUrl, MLModelConfiguration* config) {
369369
#define HAS_COREMLOPTIMIZATIONHINT 0
370370
#endif
371371

372-
API_AVAILABLE_COREML8
372+
API_AVAILABLE(macos(14.4), ios(17.4))
373373
void ConfigureOptimizationHints(MLModelConfiguration* config, const CoreMLOptions& coreml_options) {
374374
#if HAS_COREMLOPTIMIZATIONHINT
375375
MLOptimizationHints* optimizationHints = [[MLOptimizationHints alloc] init];

0 commit comments

Comments
 (0)