CoreML tvOS 11.4 to 12.0 API Differences
MLArrayBatchProvider.h
Added
MLArrayBatchProvider
Added
MLArrayBatchProvider.array
Added
-[MLArrayBatchProvider initWithFeatureProviderArray:]
Added
-[MLArrayBatchProvider initWithDictionary:error:]
MLBatchProvider.h
Added
MLBatchProvider
Added
MLBatchProvider.count
Added
-[MLBatchProvider featuresAtIndex:]
MLCustomModel.h
Added
MLCustomModel
Added
-[MLCustomModel initWithModelDescription:parameterDictionary:error:]
Added
-[MLCustomModel predictionFromFeatures:options:error:]
Added
-[MLCustomModel predictionsFromBatch:options:error:]
MLExport.h
Added
#def ML_EXPORT
MLFeatureDescription.h
Added
MLFeatureDescription.sequenceConstraint
MLFeatureType.h
Added
MLFeatureTypeSequence
MLFeatureValue.h
Added
MLFeatureValue.sequenceValue
Added
+[MLFeatureValue featureValueWithSequence:]
MLImageConstraint.h
Added
MLImageConstraint.sizeConstraint
MLImageSize.h
Added
MLImageSize
Added
MLImageSize.pixelsWide
Added
MLImageSize.pixelsHigh
MLImageSizeConstraint.h
Added
MLImageSizeConstraint
Added
MLImageSizeConstraint.type
Added
MLImageSizeConstraint.pixelsWideRange
Added
MLImageSizeConstraint.pixelsHighRange
Added
MLImageSizeConstraint.enumeratedImageSizes
MLImageSizeConstraintType.h
Added
MLImageSizeConstraintType
Added
MLImageSizeConstraintTypeUnspecified
Added
MLImageSizeConstraintTypeEnumerated
Added
MLImageSizeConstraintTypeRange
MLModel.h
Added
MLModel.configuration
Added
+[MLModel modelWithContentsOfURL:configuration:error:]
Added
-[MLModel predictionsFromBatch:options:error:]
MLModelConfiguration.h
Added
MLComputeUnits
Added
MLComputeUnitsCPUOnly
Added
MLComputeUnitsCPUAndGPU
Added
MLComputeUnitsAll
Added
MLModelConfiguration
Added
MLModelConfiguration.computeUnits
MLModelError.h
Added
MLModelErrorCustomModel
MLMultiArrayConstraint.h
Added
MLMultiArrayConstraint.shapeConstraint
MLMultiArrayShapeConstraint.h
Added
MLMultiArrayShapeConstraint
Added
MLMultiArrayShapeConstraint.type
Added
MLMultiArrayShapeConstraint.sizeRangeForDimension
Added
MLMultiArrayShapeConstraint.enumeratedShapes
MLMultiArrayShapeConstraintType.h
Added
MLMultiArrayShapeConstraintType
Added
MLMultiArrayShapeConstraintTypeUnspecified
Added
MLMultiArrayShapeConstraintTypeEnumerated
Added
MLMultiArrayShapeConstraintTypeRange
MLSequence.h
Added
MLSequence
Added
MLSequence.type
Added
+[MLSequence emptySequenceWithType:]
Added
+[MLSequence sequenceWithStringArray:]
Added
MLSequence.stringValues
Added
+[MLSequence sequenceWithInt64Array:]
Added
MLSequence.int64Values
MLSequenceConstraint.h
Added
MLSequenceConstraint
Added
MLSequenceConstraint.valueDescription
Added
MLSequenceConstraint.countRange