MLCompute macOS 11.0 Beta 2 to Beta 3 API Differences

MLCEmbeddingLayer.h
MLCGraph.h
Added -[MLCGraph bindAndWriteData:forInputs:toDevice:synchronous:]
MLCInferenceGraph.h
MLCLSTMDescriptor.h
MLCOptimizer.h
MLCSGDOptimizer.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedPlease use -usesNesterovMomentum instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedPlease use +optimizerWithDescriptor:momentumScale:usesNesterovMomentum: instead

MLCTensor.h
Added MLCTensor.optimizerDeviceData
Added -[MLCTensor synchronizeOptimizerData]
Added -[MLCTensor bindOptimizerData:deviceData:]
Declaration
From@property (nonatomic, readonly, retain) NSArray<MLCTensorData *> *optimizerData
To@property (nonatomic, readonly, copy) NSArray<MLCTensorData *> *optimizerData

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedPlease use -setOptimizerData: instead

MLCTensorOptimizerDeviceData.h
Added MLCTensorOptimizerDeviceData
Added -[MLCTensorOptimizerDeviceData init]
MLCTrainingGraph.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedPlease use +graphWithGraphObjects:lossLayer:optimizer: instead

MLCTypes.h
Added MLCExecutionOptionsForwardForInference