MLCompute iOS 14.0 Beta 2 to Beta 3 API Differences
MLCGraph.h
Added
-[MLCGraph bindAndWriteData:forInputs:toDevice:synchronous:]
MLCTensor.h
Added
MLCTensor.optimizerDeviceData
Added
-[MLCTensor synchronizeOptimizerData]
Added
-[MLCTensor bindOptimizerData:deviceData:]
Modified
MLCTensor.optimizerData
Declaration
From
@property (nonatomic, readwrite, copy) NSArray<MLCTensorData *> *optimizerData
To
@property (nonatomic, readonly, copy) NSArray<MLCTensorData *> *optimizerData
MLCTensorOptimizerDeviceData.h
Added
MLCTensorOptimizerDeviceData
Added
-[MLCTensorOptimizerDeviceData init]
MLCTypes.h
Removed
MLCExecutionOptionsForwardOnlyForInference
Added
MLCExecutionOptionsForwardForInference