MetalPerformanceShaders macOS 10.13.4 Beta 1 to Beta 2 API Differences

../Frameworks/MPSCore.framework/Headers/MPSImage.h
../Frameworks/MPSCore.framework/Headers/MPSKeyedUnarchiver.h
../Frameworks/MPSCore.framework/Headers/MPSState.h
../Frameworks/MPSImage.framework/Headers/MPSImageGuidedFilter.h
../Frameworks/MPSMatrix.framework/Headers/MPSMatrixDecomposition.h
Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceMatrix:(nonnull const MPSMatrix *)sourceMatrix resultMatrix:(nonnull MPSMatrix *)resultMatrix pivotIndices:(nonnull MPSMatrix *)pivotIndices status:(nullable id<MTLBuffer>)status
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceMatrix:(nonnull MPSMatrix *)sourceMatrix resultMatrix:(nonnull MPSMatrix *)resultMatrix pivotIndices:(nonnull MPSMatrix *)pivotIndices status:(nullable id<MTLBuffer>)status

Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceMatrix:(nonnull const MPSMatrix *)sourceMatrix resultMatrix:(nonnull MPSMatrix *)resultMatrix status:(nullable id<MTLBuffer>)status
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceMatrix:(nonnull MPSMatrix *)sourceMatrix resultMatrix:(nonnull MPSMatrix *)resultMatrix status:(nullable id<MTLBuffer>)status

../Frameworks/MPSMatrix.framework/Headers/MPSMatrixFindTopK.h
Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer inputMatrix:(nonnull const MPSMatrix *)inputMatrix resultIndexMatrix:(nonnull MPSMatrix *)resultIndexMatrix resultValueMatrix:(nonnull MPSMatrix *)resultValueMatrix
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer inputMatrix:(nonnull MPSMatrix *)inputMatrix resultIndexMatrix:(nonnull MPSMatrix *)resultIndexMatrix resultValueMatrix:(nonnull MPSMatrix *)resultValueMatrix

../Frameworks/MPSMatrix.framework/Headers/MPSMatrixMultiplication.h
Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer leftMatrix:(nonnull const MPSMatrix *)leftMatrix rightMatrix:(nonnull const MPSMatrix *)rightMatrix resultMatrix:(nonnull MPSMatrix *)resultMatrix
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer leftMatrix:(nonnull MPSMatrix *)leftMatrix rightMatrix:(nonnull MPSMatrix *)rightMatrix resultMatrix:(nonnull MPSMatrix *)resultMatrix

Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer inputMatrix:(nonnull const MPSMatrix *)inputMatrix inputVector:(nonnull const MPSVector *)inputVector resultVector:(nonnull MPSVector *)resultVector
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer inputMatrix:(nonnull MPSMatrix *)inputMatrix inputVector:(nonnull MPSVector *)inputVector resultVector:(nonnull MPSVector *)resultVector

../Frameworks/MPSMatrix.framework/Headers/MPSMatrixSoftMax.h
Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer inputMatrix:(nonnull const MPSMatrix *)inputMatrix resultMatrix:(nonnull MPSMatrix *)resultMatrix
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer inputMatrix:(nonnull MPSMatrix *)inputMatrix resultMatrix:(nonnull MPSMatrix *)resultMatrix

../Frameworks/MPSMatrix.framework/Headers/MPSMatrixSolve.h
Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceMatrix:(nonnull const MPSMatrix *)sourceMatrix rightHandSideMatrix:(nonnull const MPSMatrix *)rightHandSideMatrix solutionMatrix:(nonnull MPSMatrix *)solutionMatrix
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceMatrix:(nonnull MPSMatrix *)sourceMatrix rightHandSideMatrix:(nonnull MPSMatrix *)rightHandSideMatrix solutionMatrix:(nonnull MPSMatrix *)solutionMatrix

Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceMatrix:(nonnull const MPSMatrix *)sourceMatrix rightHandSideMatrix:(nonnull const MPSMatrix *)rightHandSideMatrix pivotIndices:(nonnull const MPSMatrix *)pivotIndices solutionMatrix:(nonnull MPSMatrix *)solutionMatrix
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceMatrix:(nonnull MPSMatrix *)sourceMatrix rightHandSideMatrix:(nonnull MPSMatrix *)rightHandSideMatrix pivotIndices:(nonnull MPSMatrix *)pivotIndices solutionMatrix:(nonnull MPSMatrix *)solutionMatrix

Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceMatrix:(nonnull const MPSMatrix *)sourceMatrix rightHandSideMatrix:(nonnull const MPSMatrix *)rightHandSideMatrix solutionMatrix:(nonnull MPSMatrix *)solutionMatrix
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceMatrix:(nonnull MPSMatrix *)sourceMatrix rightHandSideMatrix:(nonnull MPSMatrix *)rightHandSideMatrix solutionMatrix:(nonnull MPSMatrix *)solutionMatrix

../Frameworks/MPSNeuralNetwork.framework/Headers/MPSCNNBatchNormalization.h
Removed -[MPSCNNBatchNormalizationDataSource updateRunningStatisticsWithMean:variance:]
Removed -[MPSCNNBatchNormalizationDataSource updateGammaAndBetaWithGammaDelta:betaDelta:]
Removed -[MPSCNNBatchNormalizationState gammaDelta]
Removed -[MPSCNNBatchNormalizationState betaDelta]
Declaration
From- (nullable NSData *)mean
To- (nullable id<MTLBuffer>)mean

Declaration
From- (nullable NSData *)variance
To- (nullable id<MTLBuffer>)variance

Declaration
From- (nonnull float *)gamma
To- (nullable float *)gamma

Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImage:(nonnull MPSImage *)sourceImage batchNormalizationState:(nullable MPSCNNBatchNormalizationState *)batchNormalizationState destinationImage:(nonnull MPSImage *)destinationImage
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImage:(nonnull MPSImage *)sourceImage batchNormalizationState:(nonnull MPSCNNBatchNormalizationState *)batchNormalizationState destinationImage:(nonnull MPSImage *)destinationImage

Declaration
From- (void)encodeBatchToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImages:(nonnull MPSImageBatch *)sourceImages batchNormalizationState:(nullable MPSCNNBatchNormalizationState *)batchNormalizationState destinationImages:(nonnull MPSImageBatch *)destinationImages
To- (void)encodeBatchToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImages:(nonnull MPSImageBatch *)sourceImages batchNormalizationState:(nonnull MPSCNNBatchNormalizationState *)batchNormalizationState destinationImages:(nonnull MPSImageBatch *)destinationImages

Declaration
From- (nonnull MPSImage *)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImage:(nonnull MPSImage *)sourceImage batchNormalizationState:(nullable MPSCNNBatchNormalizationState *)batchNormalizationState
To- (nonnull MPSImage *)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImage:(nonnull MPSImage *)sourceImage batchNormalizationState:(nonnull MPSCNNBatchNormalizationState *)batchNormalizationState

Declaration
From- (nonnull MPSImageBatch *)encodeBatchToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImages:(nonnull MPSImageBatch *)sourceImages batchNormalizationState:(nullable MPSCNNBatchNormalizationState *)batchNormalizationState
To- (nonnull MPSImageBatch *)encodeBatchToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImages:(nonnull MPSImageBatch *)sourceImages batchNormalizationState:(nonnull MPSCNNBatchNormalizationState *)batchNormalizationState

../Frameworks/MPSNeuralNetwork.framework/Headers/MPSCNNConvolution.h
Declaration
From- (void)setBatchNormalizationParametersForInferenceWithMean:(nonnull const float *)mean variance:(nonnull const float *)variance gamma:(nullable const float *)gamma beta:(nullable const float *)beta epsilon:(const float)epsilon
To- (void)setBatchNormalizationParametersForInferenceWithMean:(nullable const float *)mean variance:(nullable const float *)variance gamma:(nullable const float *)gamma beta:(nullable const float *)beta epsilon:(const float)epsilon

../Frameworks/MPSNeuralNetwork.framework/Headers/MPSCNNInstanceNormalization.h
Removed -[MPSCNNInstanceNormalizationDataSource updateGammaAndBetaWithState:]
../Frameworks/MPSNeuralNetwork.framework/Headers/MPSCNNKernel.h
../Frameworks/MPSNeuralNetwork.framework/Headers/MPSCNNLoss.h
Removed MPSCNNLossGradientState
Removed -[MPSCNNLossGradientState initWithDevice:lossImageSize:labels:weights:dataLayout:dataSize:dataRowBytes:]
Removed -[MPSCNNLossGradientState lossImage]
Removed MPSCNNLossGradientStateBatch
Removed -[MPSCNNLoss encodeToCommandBuffer:sourceImage:lossState:destinationImage:]
Removed -[MPSCNNLoss encodeToCommandBuffer:sourceImage:lossState:]
Removed -[MPSCNNLoss encodeBatchToCommandBuffer:sourceImages:lossStates:destinationImages:]
Removed -[MPSCNNLoss encodeBatchToCommandBuffer:sourceImages:lossStates:]
../Frameworks/MPSNeuralNetwork.framework/Headers/MPSCNNMath.h
../Frameworks/MPSNeuralNetwork.framework/Headers/MPSCNNNeuron.h
../Frameworks/MPSNeuralNetwork.framework/Headers/MPSCNNNeuronType.h
Removed MPSCNNNeuronTypeReserved1
Removed MPSCNNNeuronTypeReserved2
Removed MPSCNNNeuronTypeReserved3
../Frameworks/MPSNeuralNetwork.framework/Headers/MPSCNNTypes.h
Removed MPSCNNLossTypeSoftmaxCrossEntropy
../Frameworks/MPSNeuralNetwork.framework/Headers/MPSMatrixFullyConnected.h
Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer inputMatrix:(nonnull const MPSMatrix *)inputMatrix weightMatrix:(nonnull const MPSMatrix *)weightMatrix biasVector:(nullable const MPSVector *)biasVector resultMatrix:(nonnull MPSMatrix *)resultMatrix
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer inputMatrix:(nonnull MPSMatrix *)inputMatrix weightMatrix:(nonnull MPSMatrix *)weightMatrix biasVector:(nullable MPSVector *)biasVector resultMatrix:(nonnull MPSMatrix *)resultMatrix

Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer inputMatrix:(nonnull const MPSMatrix *)inputMatrix biasVector:(nullable const MPSVector *)biasVector resultMatrix:(nonnull MPSMatrix *)resultMatrix
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer inputMatrix:(nonnull MPSMatrix *)inputMatrix biasVector:(nullable MPSVector *)biasVector resultMatrix:(nonnull MPSMatrix *)resultMatrix

../Frameworks/MPSNeuralNetwork.framework/Headers/MPSMatrixSum.h
Declaration
From- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)buffer sourceMatrices:(nonnull NSArray<const MPSMatrix *> *)sourceMatrices resultMatrix:(nonnull MPSMatrix *)resultMatrix scaleVector:(nullable const MPSVector *)scaleVector offsetVector:(nullable const MPSVector *)offsetVector biasVector:(nullable const MPSVector *)biasVector startIndex:(NSUInteger)startIndex
To- (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)buffer sourceMatrices:(nonnull NSArray<MPSMatrix *> *)sourceMatrices resultMatrix:(nonnull MPSMatrix *)resultMatrix scaleVector:(nullable MPSVector *)scaleVector offsetVector:(nullable MPSVector *)offsetVector biasVector:(nullable MPSVector *)biasVector startIndex:(NSUInteger)startIndex

../Frameworks/MPSNeuralNetwork.framework/Headers/MPSNNGraphNodes.h
Removed MPSCNNSpatialNormalizationNode.alpha
Removed MPSCNNSpatialNormalizationNode.beta
Removed MPSCNNSpatialNormalizationNode.delta
Removed MPSNNLossStateNode
Removed +[MPSCNNLossNode nodeWithSource:lossState:lossDescriptor:]
Removed -[MPSCNNLossNode initWithSource:lossState:lossDescriptor:]
../Frameworks/MPSNeuralNetwork.framework/Headers/MPSNNReshape.h
../Frameworks/MPSNeuralNetwork.framework/Headers/MPSNNSlice.h
Removed MPSNNSlice.featureChannelsInSlice