CoreML macOS 12.3 to 13.0 API Differences

MLModel.h
Added +[MLModel loadModelAsset:configuration:completionHandler:]
MLModel+MLModelCompilation.h
Added +[MLModel compileModelAtURL:completionHandler:]
Modified +[MLModel compileModelAtURL:error:]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse the asynchronous interface compileModelAtURL:completionHandler:error: instead.

MLModelAsset.h
Added MLModelAsset
Added +[MLModelAsset modelAssetWithSpecificationData:error:]
MLModelConfiguration.h
Added MLComputeUnitsCPUAndNeuralEngine
Added MLModelConfiguration.modelDisplayName
MLMultiArray.h
Added -[MLMultiArray getBytesWithHandler:]
Added -[MLMultiArray getMutableBytesWithHandler:]
Modified MLMultiArray.dataPointer
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse getBytesWithHandler or getMutableBytesWithHandler instead. For Swift, use withUnsafeBytes or withUnsafeMutableBytes.