Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
Co-authored-by: Edward Chen <[email protected]>
  • Loading branch information
NickLucche and edgchen1 authored Nov 17, 2023
1 parent f88132d commit dc82dfb
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 @@ -382,7 +382,7 @@ - (Status)predict:(const std::unordered_map<std::string, OnnxTensorData>&)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) {
Expand Down

0 comments on commit dc82dfb

Please sign in to comment.