-
Notifications
You must be signed in to change notification settings - Fork 514
CoreML iOS xcode15.3 b1
Alex Soto edited this page May 22, 2024
·
2 revisions
#CoreML.framework https://github.com/xamarin/xamarin-macios/pull/20097
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/CoreML.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/CoreML.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/CoreML.h 2023-11-12 10:55:12
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/CoreML.h 2024-01-18 01:34:35
@@ -67,3 +67,21 @@
#import <CoreML/MLCPUComputeDevice.h>
#import <CoreML/MLGPUComputeDevice.h>
#import <CoreML/MLNeuralEngineComputeDevice.h>
+
+#import <CoreML/MLModelStructure.h>
+#import <CoreML/MLModelStructureNeuralNetwork.h>
+#import <CoreML/MLModelStructureNeuralNetworkLayer.h>
+#import <CoreML/MLModelStructurePipeline.h>
+#import <CoreML/MLModelStructureProgram.h>
+#import <CoreML/MLModelStructureProgramArgument.h>
+#import <CoreML/MLModelStructureProgramBinding.h>
+#import <CoreML/MLModelStructureProgramBlock.h>
+#import <CoreML/MLModelStructureProgramFunction.h>
+#import <CoreML/MLModelStructureProgramNamedValueType.h>
+#import <CoreML/MLModelStructureProgramOperation.h>
+#import <CoreML/MLModelStructureProgramValue.h>
+#import <CoreML/MLModelStructureProgramValueType.h>
+
+#import <CoreML/MLEvaluationPlan.h>
+#import <CoreML/MLEvaluationPlanComputeDevice.h>
+#import <CoreML/MLEvaluationPlanCost.h>
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlan.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlan.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlan.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlan.h 2024-01-18 01:34:35
@@ -0,0 +1,67 @@
+//
+// MLEvaluationPlan.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+@class MLModelStructure;
+@class MLModelConfiguration;
+
+@class MLEvaluationPlanComputeDevice;
+@class MLEvaluationPlanCost;
+
+@class MLModelStructureNeuralNetworkLayer;
+@class MLModelStructureProgramOperation;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing the evaluation plan of a model.
+///
+/// The application can use the evaluation plan to estimate the necessary cost
+/// and resources of the model before running the predictions.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT
+@interface MLEvaluationPlan : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// Construct an evaluation plan from a model structure and the model configuration.
+///
+/// @param modelStructure The structure of a model.
+/// @param configuration The model configuration.
+/// @param error A pointer to receive error information on failure.
++ (nullable instancetype)evaluationPlanOfModelStructure:(MLModelStructure *)modelStructure
+ configuration:(MLModelConfiguration *)configuration
+ error:(NSError * _Nullable __autoreleasing *)error NS_SWIFT_NAME(init(of:configuration:));
+
+/// Returns the estimated cost of evaluating a MLProgram operation.
+///
+/// @param operation A MLProgram operation.
+/// @returns The estimated cost of evaluating an operation or nil if the cost couldn't be estimated.
+- (nullable MLEvaluationPlanCost *)estimatedCostOfMLProgramOperation:(MLModelStructureProgramOperation *)operation NS_SWIFT_NAME(cost(of:));
+
+/// Returns The anticipated compute devices that would be used for evaluating a NeuralNetwork layer.
+///
+/// @param layer A NeuralNetwork layer.
+/// @returns The anticipated compute devices that would be used for evaluating the layer or `nil` if the information couldn't be determined.
+- (nullable MLEvaluationPlanComputeDevice *)computeDeviceForNeuralNetworkLayer:(MLModelStructureNeuralNetworkLayer *)layer NS_SWIFT_NAME(computeDevice(for:));
+
+/// Returns The anticipated compute devices that would be used for evaluating a MLProgram operation.
+///
+/// @param operation A MLProgram operation.
+/// @returns The anticipated compute devices that would be used for evaluating the operation or `nil` if the information couldn't be determined.
+- (nullable MLEvaluationPlanComputeDevice *)computeDeviceForMLProgramOperation:(MLModelStructureProgramOperation *)operation NS_SWIFT_NAME(computeDevice(for:));
+
+/// The model structure.
+@property (readonly, strong, nonatomic) MLModelStructure *modelStructure;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlanComputeDevice.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlanComputeDevice.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlanComputeDevice.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlanComputeDevice.h 2024-01-18 01:34:34
@@ -0,0 +1,28 @@
+//
+// MLEvaluationPlanComputeDevice.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <CoreML/CoreML.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// The anticipated compute devices that would be used for evaluating a layer/operation.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+@interface MLEvaluationPlanComputeDevice : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The compute devices that can evaluate the layer/operation.
+@property (readonly, copy, nonatomic) NSArray<id<MLComputeDeviceProtocol>> *supportedComputeDevices NS_SWIFT_NAME(supported);
+/// The preferred compute device that would evaluate the layer/operation.
+@property (readonly, strong, nonatomic) id<MLComputeDeviceProtocol> preferredComputeDevice NS_SWIFT_NAME(preferred);
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlanCost.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlanCost.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlanCost.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLEvaluationPlanCost.h 2024-01-18 01:34:34
@@ -0,0 +1,28 @@
+//
+// MLEvaluationPlanCost.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing the estimated cost of evaluating a layer/operation.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+@interface MLEvaluationPlanCost : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The estimated time of the operation over the total model evaluation. The value is always between [0.0, 1.0].
+@property (readonly, assign, nonatomic) double weight;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollection.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollection.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollection.h 2023-11-12 10:55:15
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollection.h 2024-01-10 02:45:31
@@ -16,18 +16,18 @@
*
* A collection of models managed as part of Core ML Model Deployment.
*/
-API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED))API_UNAVAILABLE(tvos, watchos)
+MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED))API_UNAVAILABLE(tvos, watchos)
ML_EXPORT
@interface MLModelCollection : NSObject
/// The identifier of the model collection you want to access, as configured in the Core ML Model Deployment dashboard.
-@property (readonly, nonatomic, copy) NSString *identifier API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
+@property (readonly, nonatomic, copy) NSString *identifier MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
/// Information about the models downloaded in the collection, or an empty dictionary if the collection has not been downloaded.
-@property (readonly, nonatomic, copy) NSDictionary<NSString *, MLModelCollectionEntry *> *entries API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
+@property (readonly, nonatomic, copy) NSDictionary<NSString *, MLModelCollectionEntry *> *entries MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
/// The identifier for the currently downloaded deployment, corresponding to a recent deployment on the Core ML Model Deployment dashboard.
-@property (readonly, nonatomic, copy) NSString *deploymentID API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
+@property (readonly, nonatomic, copy) NSString *deploymentID MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
/*!
Request access to a model collection. If the collection is not downloaded on the device, it is requested
@@ -42,7 +42,7 @@
*/
+ (NSProgress *)beginAccessingModelCollectionWithIdentifier:(NSString *)identifier
completionHandler:(void (^)(MLModelCollection *_Nullable modelCollection, NSError *_Nullable error))completionHandler NS_REFINED_FOR_SWIFT
- API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
+ MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
/*!
End access to a model collection. This informs the system you have finished accessing the models within the collection.
@@ -54,7 +54,7 @@
*/
+ (void)endAccessingModelCollectionWithIdentifier:(NSString *)identifier
completionHandler:(void (^)(BOOL success, NSError *_Nullable error))completionHandler NS_REFINED_FOR_SWIFT NS_SWIFT_ASYNC_NAME(endAccessing(identifier:))
- API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
+ MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
- (instancetype)init NS_UNAVAILABLE;
@@ -63,9 +63,9 @@
@end
/// Notification posted when the model collection has changed.
-API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED))API_UNAVAILABLE(tvos, watchos)
+MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED))API_UNAVAILABLE(tvos, watchos)
API_UNAVAILABLE(tvos, watchos)
ML_EXPORT
-NSNotificationName const MLModelCollectionDidChangeNotification API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
+NSNotificationName const MLModelCollectionDidChangeNotification MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollectionEntry.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollectionEntry.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollectionEntry.h 2023-11-12 10:55:15
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollectionEntry.h 2024-01-18 01:34:38
@@ -8,22 +8,38 @@
#import <Foundation/Foundation.h>
#import <CoreML/MLExport.h>
+#import <Availability.h>
+#import <AvailabilityMacros.h>
+#import <AvailabilityVersions.h>
+
+#if TARGET_OS_OSX && defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && (__MAC_OS_X_VERSION_MIN_REQUIRED >= 140400 /* __MAC_14_4 */)
+ #define MODELCOLLECTION_SUNSET(...) API_UNAVAILABLE(macos)
+#elif TARGET_OS_IOS && defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && (__IPHONE_OS_VERSION_MIN_REQUIRED >= 170400 /* __IPHONE_17_4 */)
+ #define MODELCOLLECTION_SUNSET(...) API_UNAVAILABLE(ios)
+#elif TARGET_OS_WATCH && defined(__WATCH_OS_VERSION_MIN_REQUIRED) && (__WATCH_OS_VERSION_MIN_REQUIRED >= 100400 /* __WATCHOS_10_4 */)
+ #define MODELCOLLECTION_SUNSET(...) API_UNAVAILABLE(watchos)
+#elif TARGET_OS_TV && defined(__TV_OS_VERSION_MIN_REQUIRED) && (__TV_OS_VERSION_MIN_REQUIRED >= 170400 /* __TVOS_17_4 */)
+ #define MODELCOLLECTION_SUNSET(...) API_UNAVAILABLE(tvos)
+#else
+ #define MODELCOLLECTION_SUNSET API_DEPRECATED
+#endif
+
NS_ASSUME_NONNULL_BEGIN
/*!
* MLModelCollectionEntry
* Information about a model in a model collection.
*/
-API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED))
+MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED))
API_UNAVAILABLE(tvos, watchos)
ML_EXPORT
@interface MLModelCollectionEntry : NSObject
-@property (readonly, nonatomic) NSString *modelIdentifier API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
+@property (readonly, nonatomic) NSString *modelIdentifier MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
-@property (readonly, nonatomic) NSURL *modelURL API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
+@property (readonly, nonatomic) NSURL *modelURL MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
-- (BOOL)isEqualToModelCollectionEntry:(MLModelCollectionEntry *)entry API_DEPRECATED("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
+- (BOOL)isEqualToModelCollectionEntry:(MLModelCollectionEntry *)entry MODELCOLLECTION_SUNSET("Use Background Assets or NSURLSession instead.", macos(11.0, API_TO_BE_DEPRECATED), ios(14.0, API_TO_BE_DEPRECATED));
- (instancetype)init NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelConfiguration.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelConfiguration.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelConfiguration.h 2023-11-12 10:55:15
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelConfiguration.h 2024-01-18 01:34:38
@@ -7,6 +7,7 @@
#import <Foundation/Foundation.h>
#import <CoreML/MLExport.h>
+#import <CoreML/MLOptimizationHints.h>
NS_ASSUME_NONNULL_BEGIN
@@ -39,6 +40,9 @@
@property (readwrite, copy, nullable) NSString *modelDisplayName API_AVAILABLE(macos(13.0), ios(16.0), watchos(9.0), tvos(16.0));
@property (readwrite) MLComputeUnits computeUnits;
+
+/// A group of hints for CoreML to optimize
+@property (readwrite, copy, nonatomic) MLOptimizationHints *optimizationHints API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4)) NS_REFINED_FOR_SWIFT;
@end
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructure.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructure.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructure.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructure.h 2024-01-18 01:34:37
@@ -0,0 +1,45 @@
+//
+// MLModelStructure.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+@class MLModelDescription;
+
+@class MLModelStructureNeuralNetwork;
+@class MLModelStructureProgram;
+@class MLModelStructurePipeline;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing the structure of a model.
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructure : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// Construct an structure of a compiled model given the location of its on-disk representation.
+///
+/// @param compiledModelURL The on-disk location of the compiled model.
+/// @param error A pointer to receive error information on failure.
++ (nullable instancetype)modelStructureOfModelAtURL:(NSURL *)compiledModelURL
+ error:(NSError * _Nullable __autoreleasing *)error NS_SWIFT_NAME(init(of:));
+
+/// If the model is a NeuralNetwork type then it is the structure of the NeuralNetwork otherwise `nil`.
+@property (readonly, strong, nonatomic, nullable) MLModelStructureNeuralNetwork *neuralNetwork;
+/// If the model is a MLProgram then it is the structure of the MLProgram otherwise `nil`.
+@property (readonly, strong, nonatomic, nullable) MLModelStructureProgram *program;
+/// If the model is a Pipeline then it is the structure of the Pipeline otherwise `nil`.
+@property (readonly, strong, nonatomic, nullable) MLModelStructurePipeline *pipeline;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetwork.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetwork.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetwork.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetwork.h 2024-01-18 01:34:37
@@ -0,0 +1,31 @@
+//
+// MLModelStructureNeuralNetwork.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import "MLModelStructure.h"
+
+@class MLModelStructureNeuralNetworkLayer;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing the structure of a NeuralNetwork model.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureNeuralNetwork : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The topologically sorted layers in the NeuralNetwork.
+@property (readonly, copy, nonatomic) NSArray<MLModelStructureNeuralNetworkLayer *> *layers;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetworkLayer.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetworkLayer.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetworkLayer.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetworkLayer.h 2024-01-18 01:34:38
@@ -0,0 +1,34 @@
+//
+// MLModelStructureNeuralNetworkLayer.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing a layer in a NeuralNetwork..
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureNeuralNetworkLayer : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The layer name.
+@property (readonly, copy, nonatomic) NSString *name;
+/// The type of the layer, e,g, "elementwise", "pooling", etc.
+@property (readonly, copy, nonatomic) NSString *type;
+/// The input names.
+@property (readonly, copy, nonatomic) NSArray<NSString *> *inputNames;
+/// The output names.
+@property (readonly, copy, nonatomic) NSArray<NSString *> *outputNames;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructurePipeline.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructurePipeline.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructurePipeline.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructurePipeline.h 2024-01-18 01:34:38
@@ -0,0 +1,31 @@
+//
+// MLModelStructurePipeline.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import "MLModelStructure.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing the structure of a Pipeline model.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructurePipeline : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The names of the sub models in the pipeline.
+@property (readonly, copy, nonatomic) NSArray<NSString *> *subModelNames;
+/// The structure of the sub models in the pipeline.
+@property (readonly, copy, nonatomic) NSArray<MLModelStructure *> *subModels;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgram.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgram.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgram.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgram.h 2024-01-18 01:34:38
@@ -0,0 +1,31 @@
+//
+// MLProgramStructure.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLModelStructure.h>
+
+@class MLModelStructureProgramFunction;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing the structure of a MLProgram model.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureProgram : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The functions in the program.
+@property (readonly, copy, nonatomic) NSDictionary<NSString *, MLModelStructureProgramFunction *> *functions;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramArgument.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramArgument.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramArgument.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramArgument.h 2024-01-18 01:34:37
@@ -0,0 +1,31 @@
+//
+// MLModelStructureProgramArgument.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+@class MLModelStructureProgramBinding;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing an argument in a Program.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureProgramArgument : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The list of bindings.
+@property (readonly, copy, nonatomic) NSArray<MLModelStructureProgramBinding *> *bindings;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBinding.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBinding.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBinding.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBinding.h 2024-01-18 01:34:37
@@ -0,0 +1,36 @@
+//
+// MLModelStructureProgramBinding.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+@class MLModelStructureProgramValue;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing a binding in a Program
+///
+/// A Binding is either a previously defined name of a variable in the Program or a compile time constant value.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureProgramBinding : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The name of the variable in the Program.
+@property (readonly, copy, nonatomic, nullable) NSString *name;
+
+/// The compile time constant value in the Program.
+@property (readonly, copy, nonatomic, nullable) MLModelStructureProgramValue *value;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBlock.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBlock.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBlock.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBlock.h 2024-01-18 01:34:38
@@ -0,0 +1,36 @@
+//
+// MLModelStructureProgramBlock.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+@class MLModelStructureProgramNamedValueType;
+@class MLModelStructureProgramOperation;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing a block in a Program.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureProgramBlock : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The named inputs to the block.
+@property (readonly, copy, nonatomic) NSArray<MLModelStructureProgramNamedValueType *> *inputs;
+/// The output names.
+@property (readonly, copy, nonatomic) NSArray<NSString *> *outputNames;
+/// The list of topologically sorted operations in the block.
+@property (readonly, copy, nonatomic) NSArray<MLModelStructureProgramOperation *> *operations;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramFunction.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramFunction.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramFunction.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramFunction.h 2024-01-18 01:34:38
@@ -0,0 +1,35 @@
+//
+// MLModelStructureProgramFunction.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+@class MLModelStructureProgramBlock;
+@class MLModelStructureProgramNamedValueType;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing a function in a Program.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureProgramFunction : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The named inputs to the function.
+@property (readonly, copy, nonatomic) NSArray<MLModelStructureProgramNamedValueType *> *inputs;
+/// The active block in the function.
+@property (readonly, strong, nonatomic) MLModelStructureProgramBlock *block;
+
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramNamedValueType.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramNamedValueType.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramNamedValueType.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramNamedValueType.h 2024-01-18 01:34:38
@@ -0,0 +1,33 @@
+//
+// MLModelStructureProgramNamedValueType.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+@class MLModelStructureProgramValueType;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing a named value type in a Program.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureProgramNamedValueType : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The name of the parameter.
+@property (readonly, copy, nonatomic) NSString *name;
+/// The type of the parameter.
+@property (readonly, strong, nonatomic) MLModelStructureProgramValueType *type;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramOperation.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramOperation.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramOperation.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramOperation.h 2024-01-18 01:34:38
@@ -0,0 +1,38 @@
+//
+// MLModelStructureProgramOperation.h
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+@class MLModelStructureProgramNamedValueType;
+@class MLModelStructureProgramArgument;
+@class MLModelStructureProgramBlock;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing an Operation in a Program.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureProgramOperation : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The name of the operator, e.g., "conv", "pool", "softmax", etc.
+@property (readonly, copy, nonatomic) NSString *operatorName;
+/// The arguments to the Operation.
+@property (readonly, copy, nonatomic) NSDictionary<NSString *, MLModelStructureProgramArgument *> *inputs;
+/// The outputs of the Operation.
+@property (readonly, copy, nonatomic) NSArray<MLModelStructureProgramNamedValueType *> *outputs;
+/// Nested blocks for loops and conditionals, e.g., a conditional block will have two entries here.
+@property (readonly, copy, nonatomic) NSArray<MLModelStructureProgramBlock *> *blocks;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValue.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValue.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValue.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValue.h 2024-01-18 01:34:37
@@ -0,0 +1,26 @@
+//
+// MLModelStructureProgramValue.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A class representing a constant value in a Program.
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureProgramValue : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValueType.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValueType.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValueType.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValueType.h 2024-01-18 01:34:37
@@ -0,0 +1,25 @@
+//
+// MLModelStructureProgramValueType.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <CoreML/MLExport.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+__attribute__((objc_subclassing_restricted))
+ML_EXPORT NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+@interface MLModelStructureProgramValueType : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLOptimizationHints.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLOptimizationHints.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLOptimizationHints.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLOptimizationHints.h 2024-01-18 01:34:38
@@ -0,0 +1,36 @@
+//
+// MLOptimizationHints.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <CoreML/MLExport.h>
+#import <CoreML/MLReshapeFrequencyHint.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ * MLOptimizationHints
+ *
+ * An object to hold hints that CoreML could use for further optimization
+ */
+API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4))
+ML_EXPORT
+@interface MLOptimizationHints : NSObject <NSCopying, NSSecureCoding>
+
+/// The anticipated reshape frequency
+///
+/// CoreML framework needs to reshape the model with new shapes for models with flexible input.
+/// Specify the anticipated reshape frequency (frequent or infrequent), so that the framework can optimize for
+/// fast shape switching or fast prediction on seen shapes.
+///
+/// The default value is frequent, which means CoreML tries to switch to new shapes as fast as possible
+@property (readwrite, assign, nonatomic) MLReshapeFrequencyHint reshapeFrequency;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLReshapeFrequencyHint.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLReshapeFrequencyHint.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLReshapeFrequencyHint.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLReshapeFrequencyHint.h 2024-01-18 01:34:37
@@ -0,0 +1,14 @@
+//
+// MLReshapeFrequencyHint.h
+// CoreML_framework
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+/// The anticipated frequency of changing input shapes
+typedef NS_ENUM(NSInteger, MLReshapeFrequencyHint) {
+ MLReshapeFrequencyHintFrequent = 0,
+ MLReshapeFrequencyHintInfrequent = 1,
+} API_AVAILABLE(macos(14.4), ios(17.4), watchos(10.4), tvos(17.4));
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status