MetalPerformanceShadersGraph macOS 12.3 to 13.0 API Differences

MPSGraph.h
Added MPSGraphExecutionStage
Added MPSGraphExecutionStageCompleted
Added MPSGraphCompilationCompletionHandler
Added MPSGraphCompilationDescriptor.waitForCompilationCompletion
Added MPSGraphCompilationDescriptor.compilationCompletionHandler
Added MPSGraphCompilationDescriptor.dispatchQueue
Added -[MPSGraphExecutionDescriptor waitForEvent:value:]
Added -[MPSGraphExecutionDescriptor signalEvent:atExecutionEvent:value:]
MPSGraphArithmeticOps.h
Added -[MPSGraph truncateWithTensor:name:]
MPSGraphCore.h
Added MPSGraphPaddingStyleONNX_SAME_LOWER
MPSGraphExecutable.h
Added -[MPSGraphExecutableExecutionDescriptor waitForEvent:value:]
Added -[MPSGraphExecutableExecutionDescriptor signalEvent:atExecutionEvent:value:]
MPSGraphMatrixMultiplicationOps.h
Added -[MPSGraph HammingDistanceWithPrimaryTensor:secondaryTensor:resultDataType:name:]
MPSGraphOptimizerOps.h
Added -[MPSGraph adamWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:]
Added -[MPSGraph adamWithCurrentLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:]
MPSGraphPoolingOps.h
Added -[MPSGraph maxPooling2DGradientWithGradientTensor:indicesTensor:outputShape:descriptor:name:]
Added -[MPSGraph maxPooling2DGradientWithGradientTensor:indicesTensor:outputShapeTensor:descriptor:name:]
Added -[MPSGraph maxPooling4DGradientWithGradientTensor:indicesTensor:outputShape:descriptor:name:]
Added -[MPSGraph maxPooling4DGradientWithGradientTensor:indicesTensor:outputShapeTensor:descriptor:name:]
MPSGraphRNNOps.h
Added MPSGraphGRUDescriptor
Added MPSGraphGRUDescriptor.reverse
Added MPSGraphGRUDescriptor.bidirectional
Added MPSGraphGRUDescriptor.training
Added MPSGraphGRUDescriptor.resetGateFirst
Added MPSGraphGRUDescriptor.resetAfter
Added MPSGraphGRUDescriptor.flipZ
Added MPSGraphGRUDescriptor.updateGateActivation
Added MPSGraphGRUDescriptor.resetGateActivation
Added MPSGraphGRUDescriptor.outputGateActivation
Added +[MPSGraphGRUDescriptor descriptor]
Added -[MPSGraph GRUWithSourceTensor:recurrentWeight:inputWeight:bias:initState:mask:secondaryBias:descriptor:name:]
Added -[MPSGraph GRUWithSourceTensor:recurrentWeight:inputWeight:bias:initState:descriptor:name:]
Added -[MPSGraph GRUWithSourceTensor:recurrentWeight:inputWeight:bias:descriptor:name:]
Added -[MPSGraph GRUGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:outputFwd:stateGradient:inputWeight:bias:initState:mask:secondaryBias:descriptor:name:]
Added -[MPSGraph GRUGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:outputFwd:inputWeight:bias:initState:descriptor:name:]
Added -[MPSGraph GRUGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:outputFwd:inputWeight:bias:descriptor:name:]