CoreML watchOS 3.2 to 4.0 API Differences
MLDictionaryConstraint.h
Added
MLDictionaryConstraint
Added
MLDictionaryConstraint.keyType
MLDictionaryFeatureProvider.h
Added
MLDictionaryFeatureProvider
Added
MLDictionaryFeatureProvider.dictionary
Added
-[MLDictionaryFeatureProvider initWithDictionary:error:]
Added
-[MLDictionaryFeatureProvider objectForKeyedSubscript:]
MLFeatureDescription.h
Added
MLFeatureDescription
Added
MLFeatureDescription.name
Added
MLFeatureDescription.type
Added
MLFeatureDescription.optional
Added
-[MLFeatureDescription isAllowedValue:]
Added
MLFeatureDescription.multiArrayConstraint
Added
MLFeatureDescription.imageConstraint
Added
MLFeatureDescription.dictionaryConstraint
MLFeatureProvider.h
Added
MLFeatureProvider
Added
MLFeatureProvider.featureNames
Added
-[MLFeatureProvider featureValueForName:]
MLFeatureType.h
Added
MLFeatureType
Added
MLFeatureTypeInvalid
Added
MLFeatureTypeInt64
Added
MLFeatureTypeDouble
Added
MLFeatureTypeString
Added
MLFeatureTypeImage
Added
MLFeatureTypeMultiArray
Added
MLFeatureTypeDictionary
MLFeatureValue.h
Added
MLFeatureValue
Added
MLFeatureValue.type
Added
MLFeatureValue.undefined
Added
MLFeatureValue.int64Value
Added
MLFeatureValue.doubleValue
Added
MLFeatureValue.stringValue
Added
MLFeatureValue.multiArrayValue
Added
MLFeatureValue.dictionaryValue
Added
MLFeatureValue.imageBufferValue
Added
+[MLFeatureValue featureValueWithInt64:]
Added
+[MLFeatureValue featureValueWithDouble:]
Added
+[MLFeatureValue featureValueWithString:]
Added
+[MLFeatureValue featureValueWithMultiArray:]
Added
+[MLFeatureValue featureValueWithPixelBuffer:]
Added
+[MLFeatureValue undefinedFeatureValueWithType:]
Added
+[MLFeatureValue featureValueWithDictionary:error:]
Added
-[MLFeatureValue isEqualToFeatureValue:]
MLImageConstraint.h
Added
MLImageConstraint
Added
MLImageConstraint.pixelsHigh
Added
MLImageConstraint.pixelsWide
Added
MLImageConstraint.pixelFormatType
MLModel.h
Added
MLModel
Added
MLModel.modelDescription
Added
+[MLModel modelWithContentsOfURL:error:]
Added
-[MLModel predictionFromFeatures:error:]
Added
-[MLModel predictionFromFeatures:options:error:]
MLModelDescription.h
Added
MLModelDescription
Added
MLModelDescription.inputDescriptionsByName
Added
MLModelDescription.outputDescriptionsByName
Added
MLModelDescription.predictedFeatureName
Added
MLModelDescription.predictedProbabilitiesName
Added
MLModelDescription.metadata
MLModelError.h
Added
MLModelErrorDomain
Added
MLModelErrorGeneric
Added
MLModelErrorFeatureType
Added
MLModelErrorIO
Added
MLModelError
MLModelMetadataKeys.h
Added
MLModelMetadataKey
Added
MLModelDescriptionKey
Added
MLModelVersionStringKey
Added
MLModelAuthorKey
Added
MLModelLicenseKey
Added
MLModelCreatorDefinedKey
MLMultiArray.h
Added
MLMultiArrayDataType
Added
MLMultiArrayDataTypeDouble
Added
MLMultiArrayDataTypeFloat32
Added
MLMultiArrayDataTypeInt32
Added
MLMultiArray
Added
MLMultiArray.dataPointer
Added
MLMultiArray.dataType
Added
MLMultiArray.shape
Added
MLMultiArray.strides
Added
MLMultiArray.count
Added
-[MLMultiArray initWithShape:dataType:error:]
Added
-[MLMultiArray initWithDataPointer:shape:dataType:strides:deallocator:error:]
Added
-[MLMultiArray objectAtIndexedSubscript:]
Added
-[MLMultiArray objectForKeyedSubscript:]
Added
-[MLMultiArray setObject:atIndexedSubscript:]
Added
-[MLMultiArray setObject:forKeyedSubscript:]
MLMultiArrayConstraint.h
Added
MLMultiArrayConstraint
Added
MLMultiArrayConstraint.shape
Added
MLMultiArrayConstraint.dataType
MLPredictionOptions.h
Added
MLPredictionOptions
Added
MLPredictionOptions.usesCPUOnly