diff --git a/onnxruntime/core/providers/coreml/model/model.mm b/onnxruntime/core/providers/coreml/model/model.mm index 543b1b15da1e0..4a6743e9e5c52 100644 --- a/onnxruntime/core/providers/coreml/model/model.mm +++ b/onnxruntime/core/providers/coreml/model/model.mm @@ -382,7 +382,7 @@ - (Status)predict:(const std::unordered_map&)inputs ORT_RETURN_IF_NOT(IsArrayContiguous(data), "Non-contiguous output MLMultiArray is not currently supported"); __block Status copy_status; - const auto *tensor_info = &output_tensor_info; + const auto* tensor_info = &output_tensor_info; // `getBytesWithHandler` replaces deprecated `.dataPointer` on new versions if (@available(macOS 12.3, iOS 15.4, *)) { [data getBytesWithHandler:^(const void* bytes, NSInteger size) {