new
TypeScriptstatic new(): MPSGraphSwift declarationclass func new() -> Selfclass · iOS 14.0+ · SDK 27.1
class MPSGraphstatic new(): MPSGraphSwift declarationclass func new() -> SelfGRUGradientsRecurrentWeightSourceGradientZStateOutputFwdInputWeightBiasDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, outputFwd: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, descriptor: MPSGraphGRUDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc GRUGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, outputFwd: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, descriptor: MPSGraphGRUDescriptor, name: String?) -> [MPSGraphTensor]GRUGradientsRecurrentWeightSourceGradientZStateOutputFwdInputWeightBiasInitStateDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, outputFwd: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, descriptor: MPSGraphGRUDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc GRUGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, outputFwd: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, descriptor: MPSGraphGRUDescriptor, name: String?) -> [MPSGraphTensor]GRUGradientsRecurrentWeightSourceGradientZStateOutputFwdStateGradientInputWeightBiasInitStateMaskSecondaryBiasDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, outputFwd: MPSGraphTensor, stateGradient: (MPSGraphTensor) | null, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, mask: (MPSGraphTensor) | null, secondaryBias: (MPSGraphTensor) | null, descriptor: MPSGraphGRUDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc GRUGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, outputFwd: MPSGraphTensor, stateGradient: MPSGraphTensor?, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, mask: MPSGraphTensor?, secondaryBias: MPSGraphTensor?, descriptor: MPSGraphGRUDescriptor, name: String?) -> [MPSGraphTensor]GRURecurrentWeightInputWeightBiasDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, descriptor: MPSGraphGRUDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc GRU(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, descriptor: MPSGraphGRUDescriptor, name: String?) -> [MPSGraphTensor]GRURecurrentWeightInputWeightBiasInitStateDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, descriptor: MPSGraphGRUDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc GRU(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, descriptor: MPSGraphGRUDescriptor, name: String?) -> [MPSGraphTensor]GRURecurrentWeightInputWeightBiasInitStateMaskSecondaryBiasDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, mask: (MPSGraphTensor) | null, secondaryBias: (MPSGraphTensor) | null, descriptor: MPSGraphGRUDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc GRU(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, mask: MPSGraphTensor?, secondaryBias: MPSGraphTensor?, descriptor: MPSGraphGRUDescriptor, name: String?) -> [MPSGraphTensor]HammingDistance(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, resultDataType: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc HammingDistance(primary primaryTensor: MPSGraphTensor, secondary secondaryTensor: MPSGraphTensor, resultDataType: MPSDataType, name: String?) -> MPSGraphTensorHermiteanToRealFFTAxesDescriptorName(tensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, descriptor: MPSGraphFFTDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc HermiteanToRealFFT(_ tensor: MPSGraphTensor, axes: [NSNumber], descriptor: MPSGraphFFTDescriptor, name: String?) -> MPSGraphTensorHermiteanToRealFFTAxesTensorDescriptorName(tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, descriptor: MPSGraphFFTDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc HermiteanToRealFFT(_ tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, descriptor: MPSGraphFFTDescriptor, name: String?) -> MPSGraphTensorL2NormPooling4DGradient(gradient: MPSGraphTensor, source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc L2NormPooling4DGradient(_ gradient: MPSGraphTensor, source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> MPSGraphTensorL2NormPooling4D(source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc L2NormPooling4D(_ source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> MPSGraphTensorLSTMGradientsRecurrentWeightSourceGradientZStateCellOutputFwdDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, cellOutputFwd: MPSGraphTensor, descriptor: MPSGraphLSTMDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc LSTMGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, cellOutputFwd: MPSGraphTensor, descriptor: MPSGraphLSTMDescriptor, name: String?) -> [MPSGraphTensor]LSTMGradientsRecurrentWeightSourceGradientZStateCellOutputFwdInputWeightBiasInitStateInitCellDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, cellOutputFwd: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, initCell: (MPSGraphTensor) | null, descriptor: MPSGraphLSTMDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc LSTMGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, cellOutputFwd: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, initCell: MPSGraphTensor?, descriptor: MPSGraphLSTMDescriptor, name: String?) -> [MPSGraphTensor]LSTMGradientsRecurrentWeightSourceGradientZStateCellOutputFwdInputWeightBiasInitStateInitCellMaskDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, cellOutputFwd: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, initCell: (MPSGraphTensor) | null, mask: (MPSGraphTensor) | null, descriptor: MPSGraphLSTMDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc LSTMGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, cellOutputFwd: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, initCell: MPSGraphTensor?, mask: MPSGraphTensor?, descriptor: MPSGraphLSTMDescriptor, name: String?) -> [MPSGraphTensor]LSTMGradientsRecurrentWeightSourceGradientZStateCellOutputFwdStateGradientCellGradientInputWeightBiasInitStateInitCellMaskPeepholeDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, cellOutputFwd: MPSGraphTensor, stateGradient: (MPSGraphTensor) | null, cellGradient: (MPSGraphTensor) | null, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, initCell: (MPSGraphTensor) | null, mask: (MPSGraphTensor) | null, peephole: (MPSGraphTensor) | null, descriptor: MPSGraphLSTMDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc LSTMGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, cellOutputFwd: MPSGraphTensor, stateGradient: MPSGraphTensor?, cellGradient: MPSGraphTensor?, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, initCell: MPSGraphTensor?, mask: MPSGraphTensor?, peephole: MPSGraphTensor?, descriptor: MPSGraphLSTMDescriptor, name: String?) -> [MPSGraphTensor]LSTMRecurrentWeightInitStateInitCellDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, initState: (MPSGraphTensor) | null, initCell: (MPSGraphTensor) | null, descriptor: MPSGraphLSTMDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc LSTM(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, initState: MPSGraphTensor?, initCell: MPSGraphTensor?, descriptor: MPSGraphLSTMDescriptor, name: String?) -> [MPSGraphTensor]LSTMRecurrentWeightInputWeightBiasInitStateInitCellDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, initCell: (MPSGraphTensor) | null, descriptor: MPSGraphLSTMDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc LSTM(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, initCell: MPSGraphTensor?, descriptor: MPSGraphLSTMDescriptor, name: String?) -> [MPSGraphTensor]LSTMRecurrentWeightInputWeightBiasInitStateInitCellMaskPeepholeDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, initCell: (MPSGraphTensor) | null, mask: (MPSGraphTensor) | null, peephole: (MPSGraphTensor) | null, descriptor: MPSGraphLSTMDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc LSTM(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, initCell: MPSGraphTensor?, mask: MPSGraphTensor?, peephole: MPSGraphTensor?, descriptor: MPSGraphLSTMDescriptor, name: String?) -> [MPSGraphTensor]absoluteSquare(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc absoluteSquare(tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorabsolute(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc absolute(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensoracos(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc acos(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensoracosh(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc acosh(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensoradamCurrentLearningRateBeta1Beta2EpsilonValuesMomentumVelocityMaximumVelocityGradientName(currentLearningRateTensor: MPSGraphTensor, beta1Tensor: MPSGraphTensor, beta2Tensor: MPSGraphTensor, epsilonTensor: MPSGraphTensor, valuesTensor: MPSGraphTensor, momentumTensor: MPSGraphTensor, velocityTensor: MPSGraphTensor, maximumVelocityTensor: (MPSGraphTensor) | null, gradientTensor: MPSGraphTensor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc adam(currentLearningRate currentLearningRateTensor: MPSGraphTensor, beta1 beta1Tensor: MPSGraphTensor, beta2 beta2Tensor: MPSGraphTensor, epsilon epsilonTensor: MPSGraphTensor, values valuesTensor: MPSGraphTensor, momentum momentumTensor: MPSGraphTensor, velocity velocityTensor: MPSGraphTensor, maximumVelocity maximumVelocityTensor: MPSGraphTensor?, gradient gradientTensor: MPSGraphTensor, name: String?) -> [MPSGraphTensor]adamLearningRateBeta1Beta2EpsilonBeta1PowerBeta2PowerValuesMomentumVelocityMaximumVelocityGradientName(learningRateTensor: MPSGraphTensor, beta1Tensor: MPSGraphTensor, beta2Tensor: MPSGraphTensor, epsilonTensor: MPSGraphTensor, beta1PowerTensor: MPSGraphTensor, beta2PowerTensor: MPSGraphTensor, valuesTensor: MPSGraphTensor, momentumTensor: MPSGraphTensor, velocityTensor: MPSGraphTensor, maximumVelocityTensor: (MPSGraphTensor) | null, gradientTensor: MPSGraphTensor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc adam(learningRate learningRateTensor: MPSGraphTensor, beta1 beta1Tensor: MPSGraphTensor, beta2 beta2Tensor: MPSGraphTensor, epsilon epsilonTensor: MPSGraphTensor, beta1Power beta1PowerTensor: MPSGraphTensor, beta2Power beta2PowerTensor: MPSGraphTensor, values valuesTensor: MPSGraphTensor, momentum momentumTensor: MPSGraphTensor, velocity velocityTensor: MPSGraphTensor, maximumVelocity maximumVelocityTensor: MPSGraphTensor?, gradient gradientTensor: MPSGraphTensor, name: String?) -> [MPSGraphTensor]addition(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc addition(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorapplyStochasticGradientDescent(learningRateTensor: MPSGraphTensor, variable: MPSGraphVariableOp, gradientTensor: MPSGraphTensor, name?: (string) | null): MPSGraphOperationSwift declarationfunc applyStochasticGradientDescent(learningRate learningRateTensor: MPSGraphTensor, variable: MPSGraphVariableOp, gradient gradientTensor: MPSGraphTensor, name: String?) -> MPSGraphOperationargSortAxisDescendingName(tensor: MPSGraphTensor, axis: number, descending: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc argSort(_ tensor: MPSGraphTensor, axis: Int, descending: Bool, name: String?) -> MPSGraphTensorargSortAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc argSort(_ tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorargSortAxisTensorDescendingName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, descending: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc argSort(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, descending: Bool, name: String?) -> MPSGraphTensorargSortAxisTensorName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc argSort(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorasin(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc asin(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorasinh(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc asinh(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorassign(variable: MPSGraphTensor, tensor: MPSGraphTensor, name?: (string) | null): MPSGraphOperationSwift declarationfunc assign(_ variable: MPSGraphTensor, tensor: MPSGraphTensor, name: String?) -> MPSGraphOperationatan2(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc atan2(withPrimaryTensor primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensoratan(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc atan(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensoratanh(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc atanh(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensoravgPooling2DGradient(gradient: MPSGraphTensor, source: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc avgPooling2DGradient(withGradientTensor gradient: MPSGraphTensor, sourceTensor source: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name: String?) -> MPSGraphTensoravgPooling2D(source: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc avgPooling2D(withSourceTensor source: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name: String?) -> MPSGraphTensoravgPooling4DGradient(gradient: MPSGraphTensor, source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc avgPooling4DGradient(_ gradient: MPSGraphTensor, source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> MPSGraphTensoravgPooling4D(source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc avgPooling4D(_ source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> MPSGraphTensorbandPartNumLowerNumUpperName(inputTensor: MPSGraphTensor, numLower: number, numUpper: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc bandPart(_ inputTensor: MPSGraphTensor, numLower: Int, numUpper: Int, name: String?) -> MPSGraphTensorbandPartNumLowerTensorNumUpperTensorName(inputTensor: MPSGraphTensor, numLowerTensor: MPSGraphTensor, numUpperTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc bandPart(_ inputTensor: MPSGraphTensor, numLowerTensor: MPSGraphTensor, numUpperTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorbatchToSpaceSpatialAxesBatchAxisBlockDimensionsUsePixelShuffleOrderName(tensor: MPSGraphTensor, spatialAxes: Array<_Foundation_NSNumber>, batchAxis: number, blockDimensions: Array<_Foundation_NSNumber>, usePixelShuffleOrder: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc batchToSpace(_ tensor: MPSGraphTensor, spatialAxes: [NSNumber], batchAxis: Int, blockDimensions: [NSNumber], usePixelShuffleOrder: Bool, name: String?) -> MPSGraphTensorbatchToSpaceSpatialAxesTensorBatchAxisTensorBlockDimensionsTensorUsePixelShuffleOrderName(tensor: MPSGraphTensor, spatialAxesTensor: MPSGraphTensor, batchAxisTensor: MPSGraphTensor, blockDimensionsTensor: MPSGraphTensor, usePixelShuffleOrder: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc batchToSpace(_ tensor: MPSGraphTensor, spatialAxesTensor: MPSGraphTensor, batchAxisTensor: MPSGraphTensor, blockDimensionsTensor: MPSGraphTensor, usePixelShuffleOrder: Bool, name: String?) -> MPSGraphTensorbitwiseAND(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc bitwiseAND(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorbitwiseLeftShift(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc bitwiseLeftShift(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorbitwiseNOT(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc bitwiseNOT(_ tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorbitwiseOR(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc bitwiseOR(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorbitwisePopulationCount(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc bitwisePopulationCount(_ tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorbitwiseRightShift(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc bitwiseRightShift(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorbitwiseXOR(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc bitwiseXOR(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorbottomKGradientSourceAxisKName(gradient: MPSGraphTensor, source: MPSGraphTensor, axis: number, k: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc bottomKGradient(_ gradient: MPSGraphTensor, source: MPSGraphTensor, axis: Int, k: Int, name: String?) -> MPSGraphTensorbottomKGradientSourceAxisTensorKTensorName(gradient: MPSGraphTensor, source: MPSGraphTensor, axisTensor: MPSGraphTensor, kTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc bottomKGradient(_ gradient: MPSGraphTensor, source: MPSGraphTensor, axisTensor: MPSGraphTensor, kTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorbottomKAxisKName(source: MPSGraphTensor, axis: number, k: number, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc bottomK(_ source: MPSGraphTensor, axis: Int, k: Int, name: String?) -> [MPSGraphTensor]bottomKAxisTensorKTensorName(source: MPSGraphTensor, axisTensor: MPSGraphTensor, kTensor: MPSGraphTensor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc bottomK(_ source: MPSGraphTensor, axisTensor: MPSGraphTensor, kTensor: MPSGraphTensor, name: String?) -> [MPSGraphTensor]broadcastShapeName(tensor: MPSGraphTensor, shape: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc broadcast(_ tensor: MPSGraphTensor, shape: [NSNumber], name: String?) -> MPSGraphTensorbroadcastShapeTensorName(tensor: MPSGraphTensor, shapeTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc broadcast(_ tensor: MPSGraphTensor, shapeTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorcall(symbolName: string, inputTensors: Array<MPSGraphTensor>, outputTypes: Array<MPSGraphType>, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc call(symbolName: String, inputTensors: [MPSGraphTensor], outputTypes: [MPSGraphType], name: String?) -> [MPSGraphTensor]cast(tensor: MPSGraphTensor, type: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc cast(_ tensor: MPSGraphTensor, to type: MPSDataType, name: String?) -> MPSGraphTensorceil(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc ceil(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorclamp(tensor: MPSGraphTensor, minValueTensor: MPSGraphTensor, maxValueTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc clamp(_ tensor: MPSGraphTensor, min minValueTensor: MPSGraphTensor, max maxValueTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorcolToIm(source: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, descriptor: MPSGraphImToColOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc colToIm(_ source: MPSGraphTensor, outputShape: [NSNumber], descriptor: MPSGraphImToColOpDescriptor, name: String?) -> MPSGraphTensorcompile(device: (MPSGraphDevice) | null, feeds: NativeMap<MPSGraphTensor, MPSGraphShapedType>, targetTensors: Array<MPSGraphTensor>, targetOperations?: (Array<MPSGraphOperation>) | null, compilationDescriptor?: (MPSGraphCompilationDescriptor) | null): MPSGraphExecutableSwift declarationfunc compile(with device: MPSGraphDevice?, feeds: [MPSGraphTensor : MPSGraphShapedType], targetTensors: [MPSGraphTensor], targetOperations: [MPSGraphOperation]?, compilationDescriptor: MPSGraphCompilationDescriptor?) -> MPSGraphExecutablecomplexTensor(realTensor: MPSGraphTensor, imaginaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc complexTensor(realTensor: MPSGraphTensor, imaginaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorconcatTensor(tensor: MPSGraphTensor, tensor2: MPSGraphTensor, dimensionIndex: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc concatTensor(_ tensor: MPSGraphTensor, with tensor2: MPSGraphTensor, dimension dimensionIndex: Int, name: String?) -> MPSGraphTensorconcatTensorsDimensionInterleaveName(tensors: Array<MPSGraphTensor>, dimensionIndex: number, interleave: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc concatTensors(_ tensors: [MPSGraphTensor], dimension dimensionIndex: Int, interleave: Bool, name: String?) -> MPSGraphTensorconcatTensorsDimensionName(tensors: Array<MPSGraphTensor>, dimensionIndex: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc concatTensors(_ tensors: [MPSGraphTensor], dimension dimensionIndex: Int, name: String?) -> MPSGraphTensorconjugate(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc conjugate(tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorconstantShapeDataType(data: ArrayBuffer, shape: Array<_Foundation_NSNumber>, dataType: _MetalPerformanceShaders_MPSDataType): MPSGraphTensorSwift declarationfunc constant(_ data: Data, shape: [NSNumber], dataType: MPSDataType) -> MPSGraphTensorcomplexConstantRealPartImaginaryPart(realPart: number, imaginaryPart: number): MPSGraphTensorSwift declarationfunc complexConstant(realPart: Double, imaginaryPart: Double) -> MPSGraphTensorcomplexConstantRealPartImaginaryPartDataType(realPart: number, imaginaryPart: number, dataType: _MetalPerformanceShaders_MPSDataType): MPSGraphTensorSwift declarationfunc complexConstant(realPart: Double, imaginaryPart: Double, dataType: MPSDataType) -> MPSGraphTensorcomplexConstantRealPartImaginaryPartShapeDataType(realPart: number, imaginaryPart: number, shape: Array<_Foundation_NSNumber>, dataType: _MetalPerformanceShaders_MPSDataType): MPSGraphTensorSwift declarationfunc complexConstant(realPart: Double, imaginaryPart: Double, shape: [NSNumber], dataType: MPSDataType) -> MPSGraphTensorconstantDataType(scalar: number, dataType: _MetalPerformanceShaders_MPSDataType): MPSGraphTensorSwift declarationfunc constant(_ scalar: Double, dataType: MPSDataType) -> MPSGraphTensorconstantShapeDataType74923(scalar: number, shape: Array<_Foundation_NSNumber>, dataType: _MetalPerformanceShaders_MPSDataType): MPSGraphTensorSwift declarationfunc constant(_ scalar: Double, shape: [NSNumber], dataType: MPSDataType) -> MPSGraphTensorconvolution2DDataGradientWeightsOutputShapeForwardConvolutionDescriptorName(incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolution2DDataGradient(_ incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: [NSNumber], forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorconvolution2DDataGradientWeightsOutputShapeTensorForwardConvolutionDescriptorName(gradient: MPSGraphTensor, weights: MPSGraphTensor, outputShapeTensor: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolution2DDataGradient(_ gradient: MPSGraphTensor, weights: MPSGraphTensor, outputShapeTensor: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorconvolution2DWeightsGradientSourceOutputShapeForwardConvolutionDescriptorName(incomingGradient: MPSGraphTensor, source: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolution2DWeightsGradient(_ incomingGradient: MPSGraphTensor, source: MPSGraphTensor, outputShape: [NSNumber], forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorconvolution2DWeightsGradientSourceOutputShapeTensorForwardConvolutionDescriptorName(gradient: MPSGraphTensor, source: MPSGraphTensor, outputShapeTensor: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolution2DWeightsGradient(_ gradient: MPSGraphTensor, source: MPSGraphTensor, outputShapeTensor: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorconvolution2D(source: MPSGraphTensor, weights: MPSGraphTensor, descriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolution2D(_ source: MPSGraphTensor, weights: MPSGraphTensor, descriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorconvolution3DDataGradientWeightsOutputShapeForwardConvolutionDescriptorName(incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, forwardConvolutionDescriptor: MPSGraphConvolution3DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolution3DDataGradient(_ incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: [NSNumber], forwardConvolutionDescriptor: MPSGraphConvolution3DOpDescriptor, name: String?) -> MPSGraphTensorconvolution3DDataGradientWeightsOutputShapeTensorForwardConvolutionDescriptorName(gradient: MPSGraphTensor, weights: MPSGraphTensor, outputShapeTensor: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution3DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolution3DDataGradient(_ gradient: MPSGraphTensor, weights: MPSGraphTensor, outputShapeTensor: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution3DOpDescriptor, name: String?) -> MPSGraphTensorconvolution3DWeightsGradientSourceOutputShapeForwardConvolutionDescriptorName(incomingGradient: MPSGraphTensor, source: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, forwardConvolutionDescriptor: MPSGraphConvolution3DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolution3DWeightsGradient(_ incomingGradient: MPSGraphTensor, source: MPSGraphTensor, outputShape: [NSNumber], forwardConvolutionDescriptor: MPSGraphConvolution3DOpDescriptor, name: String?) -> MPSGraphTensorconvolution3DWeightsGradientSourceOutputShapeTensorForwardConvolutionDescriptorName(gradient: MPSGraphTensor, source: MPSGraphTensor, outputShapeTensor: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution3DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolution3DWeightsGradient(_ gradient: MPSGraphTensor, source: MPSGraphTensor, outputShapeTensor: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution3DOpDescriptor, name: String?) -> MPSGraphTensorconvolution3D(source: MPSGraphTensor, weights: MPSGraphTensor, descriptor: MPSGraphConvolution3DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolution3D(_ source: MPSGraphTensor, weights: MPSGraphTensor, descriptor: MPSGraphConvolution3DOpDescriptor, name: String?) -> MPSGraphTensorconvolutionTranspose2DDataGradientWeightsOutputShapeForwardConvolutionDescriptorName(incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolutionTranspose2DDataGradient(_ incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: [NSNumber], forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorconvolutionTranspose2DDataGradientWeightsOutputShapeTensorForwardConvolutionDescriptorName(incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolutionTranspose2DDataGradient(_ incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShapeTensor outputShape: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorconvolutionTranspose2DWeightsGradientWeightsOutputShapeForwardConvolutionDescriptorName(incomingGradientTensor: MPSGraphTensor, source: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolutionTranspose2DWeightsGradient(_ incomingGradientTensor: MPSGraphTensor, weights source: MPSGraphTensor, outputShape: [NSNumber], forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorconvolutionTranspose2DWeightsGradientWeightsOutputShapeTensorForwardConvolutionDescriptorName(incomingGradientTensor: MPSGraphTensor, source: MPSGraphTensor, outputShape: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolutionTranspose2DWeightsGradient(_ incomingGradientTensor: MPSGraphTensor, weights source: MPSGraphTensor, outputShapeTensor outputShape: MPSGraphTensor, forwardConvolutionDescriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorconvolutionTranspose2DWeightsOutputShapeDescriptorName(source: MPSGraphTensor, weights: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, descriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolutionTranspose2D(_ source: MPSGraphTensor, weights: MPSGraphTensor, outputShape: [NSNumber], descriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorconvolutionTranspose2DWeightsOutputShapeTensorDescriptorName(source: MPSGraphTensor, weights: MPSGraphTensor, outputShape: MPSGraphTensor, descriptor: MPSGraphConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc convolutionTranspose2D(_ source: MPSGraphTensor, weights: MPSGraphTensor, outputShapeTensor outputShape: MPSGraphTensor, descriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorcoordinateAlongAxisWithShapeName(axis: number, shape: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc coordinate(alongAxis axis: Int, withShape shape: [NSNumber], name: String?) -> MPSGraphTensorcoordinateAlongAxisWithShapeTensorName(axis: number, shapeTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc coordinate(alongAxis axis: Int, withShapeTensor shapeTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorcoordinateAlongAxisTensorWithShapeName(axisTensor: MPSGraphTensor, shape: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc coordinate(alongAxisTensor axisTensor: MPSGraphTensor, withShape shape: [NSNumber], name: String?) -> MPSGraphTensorcoordinateAlongAxisTensorWithShapeTensorName(axisTensor: MPSGraphTensor, shapeTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc coordinate(alongAxisTensor axisTensor: MPSGraphTensor, withShapeTensor shapeTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorcos(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc cos(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorcosh(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc cosh(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorcumulativeMaximumAxisExclusiveReverseName(tensor: MPSGraphTensor, axis: number, exclusive: boolean, reverse: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeMaximum(_ tensor: MPSGraphTensor, axis: Int, exclusive: Bool, reverse: Bool, name: String?) -> MPSGraphTensorcumulativeMaximumAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeMaximum(_ tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorcumulativeMaximumAxisTensorExclusiveReverseName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, exclusive: boolean, reverse: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeMaximum(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, exclusive: Bool, reverse: Bool, name: String?) -> MPSGraphTensorcumulativeMaximumAxisTensorName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeMaximum(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorcumulativeMinimumAxisExclusiveReverseName(tensor: MPSGraphTensor, axis: number, exclusive: boolean, reverse: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeMinimum(_ tensor: MPSGraphTensor, axis: Int, exclusive: Bool, reverse: Bool, name: String?) -> MPSGraphTensorcumulativeMinimumAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeMinimum(_ tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorcumulativeMinimumAxisTensorExclusiveReverseName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, exclusive: boolean, reverse: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeMinimum(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, exclusive: Bool, reverse: Bool, name: String?) -> MPSGraphTensorcumulativeMinimumAxisTensorName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeMinimum(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorcumulativeProductAxisExclusiveReverseName(tensor: MPSGraphTensor, axis: number, exclusive: boolean, reverse: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeProduct(_ tensor: MPSGraphTensor, axis: Int, exclusive: Bool, reverse: Bool, name: String?) -> MPSGraphTensorcumulativeProductAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeProduct(_ tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorcumulativeProductAxisTensorExclusiveReverseName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, exclusive: boolean, reverse: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeProduct(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, exclusive: Bool, reverse: Bool, name: String?) -> MPSGraphTensorcumulativeProductAxisTensorName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeProduct(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorcumulativeSumAxisExclusiveReverseName(tensor: MPSGraphTensor, axis: number, exclusive: boolean, reverse: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeSum(_ tensor: MPSGraphTensor, axis: Int, exclusive: Bool, reverse: Bool, name: String?) -> MPSGraphTensorcumulativeSumAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeSum(_ tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorcumulativeSumAxisTensorExclusiveReverseName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, exclusive: boolean, reverse: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeSum(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, exclusive: Bool, reverse: Bool, name: String?) -> MPSGraphTensorcumulativeSumAxisTensorName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc cumulativeSum(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name: String?) -> MPSGraphTensordepthToSpace2DTensorWidthAxisHeightAxisDepthAxisBlockSizeUsePixelShuffleOrderName(tensor: MPSGraphTensor, widthAxis: number, heightAxis: number, depthAxis: number, blockSize: number, usePixelShuffleOrder: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc depth(toSpace2DTensor tensor: MPSGraphTensor, widthAxis: Int, heightAxis: Int, depthAxis: Int, blockSize: Int, usePixelShuffleOrder: Bool, name: String?) -> MPSGraphTensordepthToSpace2DTensorWidthAxisTensorHeightAxisTensorDepthAxisTensorBlockSizeUsePixelShuffleOrderName(tensor: MPSGraphTensor, widthAxisTensor: MPSGraphTensor, heightAxisTensor: MPSGraphTensor, depthAxisTensor: MPSGraphTensor, blockSize: number, usePixelShuffleOrder: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc depth(toSpace2DTensor tensor: MPSGraphTensor, widthAxisTensor: MPSGraphTensor, heightAxisTensor: MPSGraphTensor, depthAxisTensor: MPSGraphTensor, blockSize: Int, usePixelShuffleOrder: Bool, name: String?) -> MPSGraphTensordepthwiseConvolution2DDataGradient(incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, descriptor: MPSGraphDepthwiseConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc depthwiseConvolution2DDataGradient(_ incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: [NSNumber], descriptor: MPSGraphDepthwiseConvolution2DOpDescriptor, name: String?) -> MPSGraphTensordepthwiseConvolution2DWeightsGradient(incomingGradient: MPSGraphTensor, source: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, descriptor: MPSGraphDepthwiseConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc depthwiseConvolution2DWeightsGradient(_ incomingGradient: MPSGraphTensor, source: MPSGraphTensor, outputShape: [NSNumber], descriptor: MPSGraphDepthwiseConvolution2DOpDescriptor, name: String?) -> MPSGraphTensordepthwiseConvolution2D(source: MPSGraphTensor, weights: MPSGraphTensor, descriptor: MPSGraphDepthwiseConvolution2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc depthwiseConvolution2D(_ source: MPSGraphTensor, weights: MPSGraphTensor, descriptor: MPSGraphDepthwiseConvolution2DOpDescriptor, name: String?) -> MPSGraphTensordepthwiseConvolution3DDataGradient(incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: (Array<_Foundation_NSNumber>) | null, descriptor: MPSGraphDepthwiseConvolution3DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc depthwiseConvolution3DDataGradient(_ incomingGradient: MPSGraphTensor, weights: MPSGraphTensor, outputShape: [NSNumber]?, descriptor: MPSGraphDepthwiseConvolution3DOpDescriptor, name: String?) -> MPSGraphTensordepthwiseConvolution3DWeightsGradient(incomingGradient: MPSGraphTensor, source: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, descriptor: MPSGraphDepthwiseConvolution3DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc depthwiseConvolution3DWeightsGradient(_ incomingGradient: MPSGraphTensor, source: MPSGraphTensor, outputShape: [NSNumber], descriptor: MPSGraphDepthwiseConvolution3DOpDescriptor, name: String?) -> MPSGraphTensordepthwiseConvolution3D(source: MPSGraphTensor, weights: MPSGraphTensor, descriptor: MPSGraphDepthwiseConvolution3DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc depthwiseConvolution3D(_ source: MPSGraphTensor, weights: MPSGraphTensor, descriptor: MPSGraphDepthwiseConvolution3DOpDescriptor, name: String?) -> MPSGraphTensordequantizeLUTTensorAxisName(tensor: MPSGraphTensor, LUTTensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc dequantize(_ tensor: MPSGraphTensor, LUTTensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensordequantizeLUTTensorName(tensor: MPSGraphTensor, LUTTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc dequantize(_ tensor: MPSGraphTensor, LUTTensor: MPSGraphTensor, name: String?) -> MPSGraphTensordequantizeScaleZeroPointDataTypeName(tensor: MPSGraphTensor, scale: number, zeroPoint: number, dataType: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc dequantize(_ tensor: MPSGraphTensor, scale: Double, zeroPoint: Double, dataType: MPSDataType, name: String?) -> MPSGraphTensordequantizeScaleTensorDataTypeName(tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, dataType: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc dequantize(_ tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, dataType: MPSDataType, name: String?) -> MPSGraphTensordequantizeScaleTensorZeroPointDataTypeAxisName(tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, zeroPoint: number, dataType: _MetalPerformanceShaders_MPSDataType, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc dequantize(_ tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, zeroPoint: Double, dataType: MPSDataType, axis: Int, name: String?) -> MPSGraphTensordequantizeScaleTensorZeroPointTensorDataTypeAxisName(tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, zeroPointTensor: MPSGraphTensor, dataType: _MetalPerformanceShaders_MPSDataType, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc dequantize(_ tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, zeroPointTensor: MPSGraphTensor, dataType: MPSDataType, axis: Int, name: String?) -> MPSGraphTensordequantizeScaleTensorZeroPointTensorDataTypeName(tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, zeroPointTensor: MPSGraphTensor, dataType: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc dequantize(_ tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, zeroPointTensor: MPSGraphTensor, dataType: MPSDataType, name: String?) -> MPSGraphTensordivisionNoNaN(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc divisionNoNaN(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensordivision(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc division(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensordropoutRateName(tensor: MPSGraphTensor, rate: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc dropout(_ tensor: MPSGraphTensor, rate: Double, name: String?) -> MPSGraphTensordropoutRateName85178(tensor: MPSGraphTensor, rate: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc dropout(_ tensor: MPSGraphTensor, rate: MPSGraphTensor, name: String?) -> MPSGraphTensorencodeToFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandBuffer: _MetalPerformanceShaders_MPSCommandBuffer, feeds: NativeMap<MPSGraphTensor, MPSGraphTensorData>, targetOperations: (Array<MPSGraphOperation>) | null, resultsDictionary: NativeMap<MPSGraphTensor, MPSGraphTensorData>, executionDescriptor?: (MPSGraphExecutionDescriptor) | null): voidSwift declarationfunc encode(to commandBuffer: MPSCommandBuffer, feeds: [MPSGraphTensor : MPSGraphTensorData], targetOperations: [MPSGraphOperation]?, resultsDictionary: [MPSGraphTensor : MPSGraphTensorData], executionDescriptor: MPSGraphExecutionDescriptor?)encodeToFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandBuffer: _MetalPerformanceShaders_MPSCommandBuffer, feeds: NativeMap<MPSGraphTensor, MPSGraphTensorData>, targetTensors: Array<MPSGraphTensor>, targetOperations?: (Array<MPSGraphOperation>) | null, executionDescriptor?: (MPSGraphExecutionDescriptor) | null): NativeMap<MPSGraphTensor, MPSGraphTensorData>Swift declarationfunc encode(to commandBuffer: MPSCommandBuffer, feeds: [MPSGraphTensor : MPSGraphTensorData], targetTensors: [MPSGraphTensor], targetOperations: [MPSGraphOperation]?, executionDescriptor: MPSGraphExecutionDescriptor?) -> [MPSGraphTensor : MPSGraphTensorData]equal(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc equal(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorerf(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc erf(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorexpandDimsAxesName(tensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc expandDims(_ tensor: MPSGraphTensor, axes: [NSNumber], name: String?) -> MPSGraphTensorexpandDimsAxesTensorName(tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc expandDims(_ tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorexpandDimsAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc expandDims(_ tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorexponentBase10(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc exponentBase10(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorexponentBase2(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc exponentBase2(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorexponent(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc exponent(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorfastFourierTransformAxesDescriptorName(tensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, descriptor: MPSGraphFFTDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc fastFourierTransform(_ tensor: MPSGraphTensor, axes: [NSNumber], descriptor: MPSGraphFFTDescriptor, name: String?) -> MPSGraphTensorfastFourierTransformAxesTensorDescriptorName(tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, descriptor: MPSGraphFFTDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc fastFourierTransform(_ tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, descriptor: MPSGraphFFTDescriptor, name: String?) -> MPSGraphTensorflatten2DAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc flatten2D(_ tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorflatten2DAxisTensorName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc flatten2D(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorfloorModulo(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc floorModulo(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorfloor(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc floor(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorgatherAlongAxis(axis: number, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc gatherAlongAxis(_ axis: Int, updates updatesTensor: MPSGraphTensor, indices indicesTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorgatherAlongAxisTensor(axisTensor: MPSGraphTensor, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc gatherAlongAxisTensor(_ axisTensor: MPSGraphTensor, updates updatesTensor: MPSGraphTensor, indices indicesTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorgatherND(updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, batchDimensions: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc gatherND(withUpdatesTensor updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, batchDimensions: Int, name: String?) -> MPSGraphTensorgather(updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, axis: number, batchDimensions: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc gather(withUpdatesTensor updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, axis: Int, batchDimensions: Int, name: String?) -> MPSGraphTensorgradients(primaryTensor: MPSGraphTensor, tensors: Array<MPSGraphTensor>, name?: (string) | null): NativeMap<MPSGraphTensor, MPSGraphTensor>Swift declarationfunc gradients(of primaryTensor: MPSGraphTensor, with tensors: [MPSGraphTensor], name: String?) -> [MPSGraphTensor : MPSGraphTensor]greaterThanOrEqualTo(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc greaterThanOrEqualTo(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorgreaterThan(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc greaterThan(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensoridentity(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc identity(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorimToCol(source: MPSGraphTensor, descriptor: MPSGraphImToColOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc imToCol(_ source: MPSGraphTensor, descriptor: MPSGraphImToColOpDescriptor, name: String?) -> MPSGraphTensorimaginaryPartOfTensor(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc imaginaryPartOfTensor(tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorstatic init(): MPSGraphSwift declarationinit()inverse(inputTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc inverse(input inputTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorisFinite(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc isFinite(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorisInfinite(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc isInfinite(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorisNaN(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc isNaN(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorleakyReLUGradient(gradient: MPSGraphTensor, source: MPSGraphTensor, alphaTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc leakyReLUGradient(withIncomingGradient gradient: MPSGraphTensor, sourceTensor source: MPSGraphTensor, alphaTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorleakyReLUWithAlphaName(tensor: MPSGraphTensor, alpha: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc leakyReLU(with tensor: MPSGraphTensor, alpha: Double, name: String?) -> MPSGraphTensorleakyReLUWithAlphaTensorName(tensor: MPSGraphTensor, alphaTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc leakyReLU(with tensor: MPSGraphTensor, alphaTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlessThanOrEqualTo(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc lessThanOrEqualTo(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlessThan(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc lessThan(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlogarithmBase10(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc logarithmBase10(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlogarithmBase2(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc logarithmBase2(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlogarithm(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc logarithm(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlogicalAND(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc logicalAND(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlogicalNAND(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc logicalNAND(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlogicalNOR(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc logicalNOR(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlogicalOR(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc logicalOR(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlogicalXNOR(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc logicalXNOR(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorlogicalXOR(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc logicalXOR(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensormatrixMultiplication(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc matrixMultiplication(primary primaryTensor: MPSGraphTensor, secondary secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensormaxPooling2DGradientWithGradientTensorIndicesTensorOutputShapeDescriptorName(gradient: MPSGraphTensor, indices: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, descriptor: MPSGraphPooling2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc maxPooling2DGradient(withGradientTensor gradient: MPSGraphTensor, indicesTensor indices: MPSGraphTensor, outputShape: [NSNumber], descriptor: MPSGraphPooling2DOpDescriptor, name: String?) -> MPSGraphTensormaxPooling2DGradientWithGradientTensorIndicesTensorOutputShapeTensorDescriptorName(gradient: MPSGraphTensor, indices: MPSGraphTensor, outputShape: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc maxPooling2DGradient(withGradientTensor gradient: MPSGraphTensor, indicesTensor indices: MPSGraphTensor, outputShapeTensor outputShape: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name: String?) -> MPSGraphTensormaxPooling2DGradientWithGradientTensorSourceTensorDescriptorName(gradient: MPSGraphTensor, source: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc maxPooling2DGradient(withGradientTensor gradient: MPSGraphTensor, sourceTensor source: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name: String?) -> MPSGraphTensormaxPooling2DReturnIndices(source: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc maxPooling2DReturnIndices(_ source: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name: String?) -> [MPSGraphTensor]maxPooling2D(source: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc maxPooling2D(withSourceTensor source: MPSGraphTensor, descriptor: MPSGraphPooling2DOpDescriptor, name: String?) -> MPSGraphTensormaxPooling4DGradientWithGradientTensorIndicesTensorOutputShapeDescriptorName(gradient: MPSGraphTensor, indices: MPSGraphTensor, outputShape: Array<_Foundation_NSNumber>, descriptor: MPSGraphPooling4DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc maxPooling4DGradient(withGradientTensor gradient: MPSGraphTensor, indicesTensor indices: MPSGraphTensor, outputShape: [NSNumber], descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> MPSGraphTensormaxPooling4DGradientWithGradientTensorIndicesTensorOutputShapeTensorDescriptorName(gradient: MPSGraphTensor, indices: MPSGraphTensor, outputShape: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc maxPooling4DGradient(withGradientTensor gradient: MPSGraphTensor, indicesTensor indices: MPSGraphTensor, outputShapeTensor outputShape: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> MPSGraphTensormaxPooling4DGradientSourceDescriptorName(gradient: MPSGraphTensor, source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc maxPooling4DGradient(_ gradient: MPSGraphTensor, source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> MPSGraphTensormaxPooling4DReturnIndices(source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc maxPooling4DReturnIndices(_ source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> [MPSGraphTensor]maxPooling4D(source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc maxPooling4D(_ source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> MPSGraphTensormaximumWithNaNPropagation(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc maximumWithNaNPropagation(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensormaximum(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc maximum(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensormean(tensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc mean(of tensor: MPSGraphTensor, axes: [NSNumber], name: String?) -> MPSGraphTensorminimumWithNaNPropagation(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc minimumWithNaNPropagation(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorminimum(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc minimum(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensormodulo(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc modulo(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensormultiplication(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc multiplication(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensornegative(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc negative(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensornonMaximumSuppressionWithBoxesTensorScoresTensorIouThresholdScoreThresholdPerClassSuppressionCoordinateModeName(boxesTensor: MPSGraphTensor, scoresTensor: MPSGraphTensor, IOUThreshold: number, scoreThreshold: number, perClassSuppression: boolean, coordinateMode: MPSGraphNonMaximumSuppressionCoordinateMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc nonMaximumSuppression(withBoxesTensor boxesTensor: MPSGraphTensor, scoresTensor: MPSGraphTensor, iouThreshold IOUThreshold: Float, scoreThreshold: Float, perClassSuppression: Bool, coordinateMode: MPSGraphNonMaximumSuppressionCoordinateMode, name: String?) -> MPSGraphTensornonMaximumSuppressionWithBoxesTensorScoresTensorClassIndicesTensorIouThresholdScoreThresholdPerClassSuppressionCoordinateModeName(boxesTensor: MPSGraphTensor, scoresTensor: MPSGraphTensor, classIndicesTensor: MPSGraphTensor, IOUThreshold: number, scoreThreshold: number, perClassSuppression: boolean, coordinateMode: MPSGraphNonMaximumSuppressionCoordinateMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc nonMaximumSuppression(withBoxesTensor boxesTensor: MPSGraphTensor, scoresTensor: MPSGraphTensor, classIndicesTensor: MPSGraphTensor, iouThreshold IOUThreshold: Float, scoreThreshold: Float, perClassSuppression: Bool, coordinateMode: MPSGraphNonMaximumSuppressionCoordinateMode, name: String?) -> MPSGraphTensornonZeroIndices(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc nonZeroIndices(_ tensor: MPSGraphTensor, name: String?) -> MPSGraphTensornormalizationBetaGradient(incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc normalizationBetaGradient(withIncomingGradientTensor incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, reductionAxes axes: [NSNumber], name: String?) -> MPSGraphTensornormalizationGammaGradient(incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, meanTensor: MPSGraphTensor, varianceTensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, epsilon: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc normalizationGammaGradient(withIncomingGradientTensor incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, mean meanTensor: MPSGraphTensor, varianceTensor: MPSGraphTensor, reductionAxes axes: [NSNumber], epsilon: Float, name: String?) -> MPSGraphTensornormalizationGradient(incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, meanTensor: MPSGraphTensor, varianceTensor: MPSGraphTensor, gamma: (MPSGraphTensor) | null, gammaGradient: (MPSGraphTensor) | null, betaGradient: (MPSGraphTensor) | null, axes: Array<_Foundation_NSNumber>, epsilon: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc normalizationGradient(withIncomingGradientTensor incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, mean meanTensor: MPSGraphTensor, varianceTensor: MPSGraphTensor, gammaTensor gamma: MPSGraphTensor?, gammaGradientTensor gammaGradient: MPSGraphTensor?, betaGradientTensor betaGradient: MPSGraphTensor?, reductionAxes axes: [NSNumber], epsilon: Float, name: String?) -> MPSGraphTensornormalize(tensor: MPSGraphTensor, mean: MPSGraphTensor, variance: MPSGraphTensor, gamma: (MPSGraphTensor) | null, beta: (MPSGraphTensor) | null, epsilon: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc normalize(_ tensor: MPSGraphTensor, mean: MPSGraphTensor, variance: MPSGraphTensor, gamma: MPSGraphTensor?, beta: MPSGraphTensor?, epsilon: Float, name: String?) -> MPSGraphTensornotEqual(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc notEqual(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensornot(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc not(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensoroneHotWithIndicesTensorDepthAxisDataTypeName(indicesTensor: MPSGraphTensor, depth: number, axis: number, dataType: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc oneHot(withIndicesTensor indicesTensor: MPSGraphTensor, depth: Int, axis: Int, dataType: MPSDataType, name: String?) -> MPSGraphTensoroneHotWithIndicesTensorDepthAxisDataTypeOnValueOffValueName(indicesTensor: MPSGraphTensor, depth: number, axis: number, dataType: _MetalPerformanceShaders_MPSDataType, onValue: number, offValue: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc oneHot(withIndicesTensor indicesTensor: MPSGraphTensor, depth: Int, axis: Int, dataType: MPSDataType, onValue: Double, offValue: Double, name: String?) -> MPSGraphTensoroneHotWithIndicesTensorDepthAxisName(indicesTensor: MPSGraphTensor, depth: number, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc oneHot(withIndicesTensor indicesTensor: MPSGraphTensor, depth: Int, axis: Int, name: String?) -> MPSGraphTensoroneHotWithIndicesTensorDepthDataTypeName(indicesTensor: MPSGraphTensor, depth: number, dataType: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc oneHot(withIndicesTensor indicesTensor: MPSGraphTensor, depth: Int, dataType: MPSDataType, name: String?) -> MPSGraphTensoroneHotWithIndicesTensorDepthDataTypeOnValueOffValueName(indicesTensor: MPSGraphTensor, depth: number, dataType: _MetalPerformanceShaders_MPSDataType, onValue: number, offValue: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc oneHot(withIndicesTensor indicesTensor: MPSGraphTensor, depth: Int, dataType: MPSDataType, onValue: Double, offValue: Double, name: String?) -> MPSGraphTensoroneHotWithIndicesTensorDepthName(indicesTensor: MPSGraphTensor, depth: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc oneHot(withIndicesTensor indicesTensor: MPSGraphTensor, depth: Int, name: String?) -> MPSGraphTensorpadGradient(incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, paddingMode: MPSGraphPaddingMode, leftPadding: Array<_Foundation_NSNumber>, rightPadding: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc padGradient(withIncomingGradientTensor incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, paddingMode: MPSGraphPaddingMode, leftPadding: [NSNumber], rightPadding: [NSNumber], name: String?) -> MPSGraphTensorpadTensor(tensor: MPSGraphTensor, paddingMode: MPSGraphPaddingMode, leftPadding: Array<_Foundation_NSNumber>, rightPadding: Array<_Foundation_NSNumber>, constantValue: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc padTensor(_ tensor: MPSGraphTensor, with paddingMode: MPSGraphPaddingMode, leftPadding: [NSNumber], rightPadding: [NSNumber], constantValue: Double, name: String?) -> MPSGraphTensorplaceholderShapeDataTypeName(shape: (Array<_Foundation_NSNumber>) | null, dataType: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc placeholder(shape: [NSNumber]?, dataType: MPSDataType, name: String?) -> MPSGraphTensorplaceholderShapeName(shape?: (Array<_Foundation_NSNumber>) | null, name?: (string) | null): MPSGraphTensorSwift declarationfunc placeholder(shape: [NSNumber]?, name: String?) -> MPSGraphTensorplanarTensor(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc planarTensor(tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorpower(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc power(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorquantizeScaleZeroPointDataTypeName(tensor: MPSGraphTensor, scale: number, zeroPoint: number, dataType: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc quantize(_ tensor: MPSGraphTensor, scale: Double, zeroPoint: Double, dataType: MPSDataType, name: String?) -> MPSGraphTensorquantizeScaleTensorZeroPointDataTypeAxisName(tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, zeroPoint: number, dataType: _MetalPerformanceShaders_MPSDataType, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc quantize(_ tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, zeroPoint: Double, dataType: MPSDataType, axis: Int, name: String?) -> MPSGraphTensorquantizeScaleTensorZeroPointTensorDataTypeAxisName(tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, zeroPointTensor: MPSGraphTensor, dataType: _MetalPerformanceShaders_MPSDataType, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc quantize(_ tensor: MPSGraphTensor, scaleTensor: MPSGraphTensor, zeroPointTensor: MPSGraphTensor, dataType: MPSDataType, axis: Int, name: String?) -> MPSGraphTensorrandomPhiloxStateTensorWithCounterLowCounterHighKeyName(counterLow: number, counterHigh: number, key: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc randomPhiloxStateTensor(withCounterLow counterLow: Int, counterHigh: Int, key: Int, name: String?) -> MPSGraphTensorrandomPhiloxStateTensorWithSeedName(seed: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc randomPhiloxStateTensor(withSeed seed: Int, name: String?) -> MPSGraphTensorrandomTensorWithShapeDescriptorName(shape: Array<_Foundation_NSNumber>, descriptor: MPSGraphRandomOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc randomTensor(withShape shape: [NSNumber], descriptor: MPSGraphRandomOpDescriptor, name: String?) -> MPSGraphTensorrandomTensorWithShapeDescriptorSeedName(shape: Array<_Foundation_NSNumber>, descriptor: MPSGraphRandomOpDescriptor, seed: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc randomTensor(withShape shape: [NSNumber], descriptor: MPSGraphRandomOpDescriptor, seed: Int, name: String?) -> MPSGraphTensorrandomTensorWithShapeDescriptorStateTensorName(shape: Array<_Foundation_NSNumber>, descriptor: MPSGraphRandomOpDescriptor, state: MPSGraphTensor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc randomTensor(withShape shape: [NSNumber], descriptor: MPSGraphRandomOpDescriptor, stateTensor state: MPSGraphTensor, name: String?) -> [MPSGraphTensor]randomTensorWithShapeTensorDescriptorName(shapeTensor: MPSGraphTensor, descriptor: MPSGraphRandomOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc randomTensor(withShapeTensor shapeTensor: MPSGraphTensor, descriptor: MPSGraphRandomOpDescriptor, name: String?) -> MPSGraphTensorrandomTensorWithShapeTensorDescriptorSeedName(shapeTensor: MPSGraphTensor, descriptor: MPSGraphRandomOpDescriptor, seed: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc randomTensor(withShapeTensor shapeTensor: MPSGraphTensor, descriptor: MPSGraphRandomOpDescriptor, seed: Int, name: String?) -> MPSGraphTensorrandomTensorWithShapeTensorDescriptorStateTensorName(shapeTensor: MPSGraphTensor, descriptor: MPSGraphRandomOpDescriptor, state: MPSGraphTensor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc randomTensor(withShapeTensor shapeTensor: MPSGraphTensor, descriptor: MPSGraphRandomOpDescriptor, stateTensor state: MPSGraphTensor, name: String?) -> [MPSGraphTensor]randomUniformTensorWithShapeName(shape: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc randomUniformTensor(withShape shape: [NSNumber], name: String?) -> MPSGraphTensorrandomUniformTensorWithShapeSeedName(shape: Array<_Foundation_NSNumber>, seed: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc randomUniformTensor(withShape shape: [NSNumber], seed: Int, name: String?) -> MPSGraphTensorrandomUniformTensorWithShapeStateTensorName(shape: Array<_Foundation_NSNumber>, state: MPSGraphTensor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc randomUniformTensor(withShape shape: [NSNumber], stateTensor state: MPSGraphTensor, name: String?) -> [MPSGraphTensor]randomUniformTensorWithShapeTensorName(shapeTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc randomUniformTensor(withShapeTensor shapeTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorrandomUniformTensorWithShapeTensorSeedName(shapeTensor: MPSGraphTensor, seed: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc randomUniformTensor(withShapeTensor shapeTensor: MPSGraphTensor, seed: Int, name: String?) -> MPSGraphTensorrandomUniformTensorWithShapeTensorStateTensorName(shapeTensor: MPSGraphTensor, state: MPSGraphTensor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc randomUniformTensor(withShapeTensor shapeTensor: MPSGraphTensor, stateTensor state: MPSGraphTensor, name: String?) -> [MPSGraphTensor]reLUGradient(gradient: MPSGraphTensor, source: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc reLUGradient(withIncomingGradient gradient: MPSGraphTensor, sourceTensor source: MPSGraphTensor, name: String?) -> MPSGraphTensorreLU(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc reLU(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorread(variable: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc read(_ variable: MPSGraphTensor, name: String?) -> MPSGraphTensorrealPartOfTensor(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc realPartOfTensor(tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorrealToHermiteanFFTAxesDescriptorName(tensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, descriptor: MPSGraphFFTDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc realToHermiteanFFT(_ tensor: MPSGraphTensor, axes: [NSNumber], descriptor: MPSGraphFFTDescriptor, name: String?) -> MPSGraphTensorrealToHermiteanFFTAxesTensorDescriptorName(tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, descriptor: MPSGraphFFTDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc realToHermiteanFFT(_ tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, descriptor: MPSGraphFFTDescriptor, name: String?) -> MPSGraphTensorreciprocalSquareRoot(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc reciprocalSquareRoot(_ tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorreciprocal(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc reciprocal(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorreductionAndWithAxesName(tensor: MPSGraphTensor, axes?: (Array<_Foundation_NSNumber>) | null, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionAnd(with tensor: MPSGraphTensor, axes: [NSNumber]?, name: String?) -> MPSGraphTensorreductionAndWithAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionAnd(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorreductionArgMaximum(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionArgMaximum(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorreductionArgMinimum(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionArgMinimum(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorreductionMaximumPropagateNaNWithAxesName(tensor: MPSGraphTensor, axes?: (Array<_Foundation_NSNumber>) | null, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionMaximumPropagateNaN(with tensor: MPSGraphTensor, axes: [NSNumber]?, name: String?) -> MPSGraphTensorreductionMaximumPropagateNaNWithAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionMaximumPropagateNaN(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorreductionMaximumWithAxesName(tensor: MPSGraphTensor, axes?: (Array<_Foundation_NSNumber>) | null, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionMaximum(with tensor: MPSGraphTensor, axes: [NSNumber]?, name: String?) -> MPSGraphTensorreductionMaximumWithAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionMaximum(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorreductionMinimumPropagateNaNWithAxesName(tensor: MPSGraphTensor, axes?: (Array<_Foundation_NSNumber>) | null, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionMinimumPropagateNaN(with tensor: MPSGraphTensor, axes: [NSNumber]?, name: String?) -> MPSGraphTensorreductionMinimumPropagateNaNWithAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionMinimumPropagateNaN(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorreductionMinimumWithAxesName(tensor: MPSGraphTensor, axes?: (Array<_Foundation_NSNumber>) | null, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionMinimum(with tensor: MPSGraphTensor, axes: [NSNumber]?, name: String?) -> MPSGraphTensorreductionMinimumWithAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionMinimum(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorreductionOrWithAxesName(tensor: MPSGraphTensor, axes?: (Array<_Foundation_NSNumber>) | null, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionOr(with tensor: MPSGraphTensor, axes: [NSNumber]?, name: String?) -> MPSGraphTensorreductionOrWithAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionOr(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorreductionProductWithAxesName(tensor: MPSGraphTensor, axes?: (Array<_Foundation_NSNumber>) | null, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionProduct(with tensor: MPSGraphTensor, axes: [NSNumber]?, name: String?) -> MPSGraphTensorreductionProductWithAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionProduct(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorreductionSumWithAxesName(tensor: MPSGraphTensor, axes?: (Array<_Foundation_NSNumber>) | null, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionSum(with tensor: MPSGraphTensor, axes: [NSNumber]?, name: String?) -> MPSGraphTensorreductionSumWithAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc reductionSum(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorreinterpretCast(tensor: MPSGraphTensor, type: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc reinterpretCast(_ tensor: MPSGraphTensor, to type: MPSDataType, name: String?) -> MPSGraphTensorreshapeShapeName(tensor: MPSGraphTensor, shape: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc reshape(_ tensor: MPSGraphTensor, shape: [NSNumber], name: String?) -> MPSGraphTensorreshapeShapeTensorName(tensor: MPSGraphTensor, shapeTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc reshape(_ tensor: MPSGraphTensor, shapeTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorresizeBilinearWithGradientTensorInputCenterResultAlignCornersLayoutName(gradient: MPSGraphTensor, input: MPSGraphTensor, centerResult: boolean, alignCorners: boolean, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeBilinear(withGradientTensor gradient: MPSGraphTensor, input: MPSGraphTensor, centerResult: Bool, alignCorners: Bool, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeBilinearWithGradientTensorInputScaleOffsetTensorLayoutName(gradient: MPSGraphTensor, input: MPSGraphTensor, scaleOffset: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeBilinear(withGradientTensor gradient: MPSGraphTensor, input: MPSGraphTensor, scaleOffsetTensor scaleOffset: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeBilinearWithGradientTensorInputScaleOffsetTensorName(gradient: MPSGraphTensor, input: MPSGraphTensor, scale: MPSGraphTensor, offset: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeBilinear(withGradientTensor gradient: MPSGraphTensor, input: MPSGraphTensor, scale: MPSGraphTensor, offsetTensor offset: MPSGraphTensor, name: String?) -> MPSGraphTensorresizeBilinearSizeTensorCenterResultAlignCornersLayoutName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, centerResult: boolean, alignCorners: boolean, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeBilinear(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, centerResult: Bool, alignCorners: Bool, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeBilinearSizeTensorCenterResultAlignCornersName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, centerResult: boolean, alignCorners: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeBilinear(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, centerResult: Bool, alignCorners: Bool, name: String?) -> MPSGraphTensorresizeBilinearSizeTensorScaleOffsetTensorLayoutName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, scaleOffset: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeBilinear(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, scaleOffsetTensor scaleOffset: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeBilinearSizeTensorScaleTensorOffsetTensorName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, scale: MPSGraphTensor, offset: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeBilinear(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, scaleTensor scale: MPSGraphTensor, offsetTensor offset: MPSGraphTensor, name: String?) -> MPSGraphTensorresizeNearestWithGradientTensorInputNearestRoundingModeCenterResultAlignCornersLayoutName(gradient: MPSGraphTensor, input: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, centerResult: boolean, alignCorners: boolean, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeNearest(withGradientTensor gradient: MPSGraphTensor, input: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, centerResult: Bool, alignCorners: Bool, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeNearestWithGradientTensorInputScaleOffsetTensorNearestRoundingModeLayoutName(gradient: MPSGraphTensor, input: MPSGraphTensor, scaleOffset: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeNearest(withGradientTensor gradient: MPSGraphTensor, input: MPSGraphTensor, scaleOffsetTensor scaleOffset: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeNearestWithGradientTensorInputScaleOffsetTensorNearestRoundingModeName(gradient: MPSGraphTensor, input: MPSGraphTensor, scale: MPSGraphTensor, offset: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeNearest(withGradientTensor gradient: MPSGraphTensor, input: MPSGraphTensor, scale: MPSGraphTensor, offsetTensor offset: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, name: String?) -> MPSGraphTensorresizeNearestSizeTensorNearestRoundingModeCenterResultAlignCornersLayoutName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, centerResult: boolean, alignCorners: boolean, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeNearest(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, centerResult: Bool, alignCorners: Bool, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeNearestSizeTensorNearestRoundingModeCenterResultAlignCornersName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, centerResult: boolean, alignCorners: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeNearest(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, centerResult: Bool, alignCorners: Bool, name: String?) -> MPSGraphTensorresizeNearestSizeTensorScaleOffsetTensorNearestRoundingModeLayoutName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, scaleOffset: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeNearest(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, scaleOffsetTensor scaleOffset: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeNearestSizeTensorScaleTensorOffsetTensorNearestRoundingModeName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, scale: MPSGraphTensor, offset: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc resizeNearest(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, scaleTensor scale: MPSGraphTensor, offsetTensor offset: MPSGraphTensor, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, name: String?) -> MPSGraphTensorresizeSizeModeCenterResultAlignCornersLayoutName(imagesTensor: MPSGraphTensor, size: Array<_Foundation_NSNumber>, mode: MPSGraphResizeMode, centerResult: boolean, alignCorners: boolean, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resize(_ imagesTensor: MPSGraphTensor, size: [NSNumber], mode: MPSGraphResizeMode, centerResult: Bool, alignCorners: Bool, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeSizeTensorModeCenterResultAlignCornersLayoutName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, mode: MPSGraphResizeMode, centerResult: boolean, alignCorners: boolean, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resize(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, mode: MPSGraphResizeMode, centerResult: Bool, alignCorners: Bool, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeSizeTensorModeCenterResultAlignCornersName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, mode: MPSGraphResizeMode, centerResult: boolean, alignCorners: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc resize(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, mode: MPSGraphResizeMode, centerResult: Bool, alignCorners: Bool, name: String?) -> MPSGraphTensorresizeSizeTensorScaleOffsetTensorModeLayoutName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, scaleOffset: MPSGraphTensor, mode: MPSGraphResizeMode, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resize(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, scaleOffsetTensor scaleOffset: MPSGraphTensor, mode: MPSGraphResizeMode, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeSizeTensorScaleTensorOffsetTenorModeName(imagesTensor: MPSGraphTensor, size: MPSGraphTensor, scale: MPSGraphTensor, offset: MPSGraphTensor, mode: MPSGraphResizeMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc resize(_ imagesTensor: MPSGraphTensor, sizeTensor size: MPSGraphTensor, scaleTensor scale: MPSGraphTensor, offsetTenor offset: MPSGraphTensor, mode: MPSGraphResizeMode, name: String?) -> MPSGraphTensorresizeWithGradientTensorInputModeCenterResultAlignCornersLayoutName(gradient: MPSGraphTensor, input: MPSGraphTensor, mode: MPSGraphResizeMode, centerResult: boolean, alignCorners: boolean, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resize(withGradientTensor gradient: MPSGraphTensor, input: MPSGraphTensor, mode: MPSGraphResizeMode, centerResult: Bool, alignCorners: Bool, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeWithGradientTensorInputScaleOffsetTensorModeLayoutName(gradient: MPSGraphTensor, input: MPSGraphTensor, scaleOffset: MPSGraphTensor, mode: MPSGraphResizeMode, layout: MPSGraphTensorNamedDataLayout, name?: (string) | null): MPSGraphTensorSwift declarationfunc resize(withGradientTensor gradient: MPSGraphTensor, input: MPSGraphTensor, scaleOffsetTensor scaleOffset: MPSGraphTensor, mode: MPSGraphResizeMode, layout: MPSGraphTensorNamedDataLayout, name: String?) -> MPSGraphTensorresizeWithGradientTensorInputScaleOffsetTensorModeName(gradient: MPSGraphTensor, input: MPSGraphTensor, scale: MPSGraphTensor, offset: MPSGraphTensor, mode: MPSGraphResizeMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc resize(withGradientTensor gradient: MPSGraphTensor, input: MPSGraphTensor, scale: MPSGraphTensor, offsetTensor offset: MPSGraphTensor, mode: MPSGraphResizeMode, name: String?) -> MPSGraphTensorreverseSquareRoot(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc reverseSquareRoot(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorreverseAxesName(tensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc reverse(_ tensor: MPSGraphTensor, axes: [NSNumber], name: String?) -> MPSGraphTensorreverseAxesTensorName(tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc reverse(_ tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorreverseName(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc reverse(_ tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorrint(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc rint(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorround(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc round(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorrunAsyncFeedsTargetTensorsTargetOperationsExecutionDescriptor(feeds: NativeMap<MPSGraphTensor, MPSGraphTensorData>, targetTensors: Array<MPSGraphTensor>, targetOperations?: (Array<MPSGraphOperation>) | null, executionDescriptor?: (MPSGraphExecutionDescriptor) | null): NativeMap<MPSGraphTensor, MPSGraphTensorData>Swift declarationfunc runAsync(feeds: [MPSGraphTensor : MPSGraphTensorData], targetTensors: [MPSGraphTensor], targetOperations: [MPSGraphOperation]?, executionDescriptor: MPSGraphExecutionDescriptor?) -> [MPSGraphTensor : MPSGraphTensorData]runAsyncWithFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandQueue: SDKHandle, feeds: NativeMap<MPSGraphTensor, MPSGraphTensorData>, targetOperations: (Array<MPSGraphOperation>) | null, resultsDictionary: NativeMap<MPSGraphTensor, MPSGraphTensorData>, executionDescriptor?: (MPSGraphExecutionDescriptor) | null): voidSwift declarationfunc runAsync(with commandQueue: any MTLCommandQueue, feeds: [MPSGraphTensor : MPSGraphTensorData], targetOperations: [MPSGraphOperation]?, resultsDictionary: [MPSGraphTensor : MPSGraphTensorData], executionDescriptor: MPSGraphExecutionDescriptor?)runAsyncWithFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandQueue: SDKHandle, feeds: NativeMap<MPSGraphTensor, MPSGraphTensorData>, targetTensors: Array<MPSGraphTensor>, targetOperations?: (Array<MPSGraphOperation>) | null, executionDescriptor?: (MPSGraphExecutionDescriptor) | null): NativeMap<MPSGraphTensor, MPSGraphTensorData>Swift declarationfunc runAsync(with commandQueue: any MTLCommandQueue, feeds: [MPSGraphTensor : MPSGraphTensorData], targetTensors: [MPSGraphTensor], targetOperations: [MPSGraphOperation]?, executionDescriptor: MPSGraphExecutionDescriptor?) -> [MPSGraphTensor : MPSGraphTensorData]runFeedsTargetTensorsTargetOperations(feeds: NativeMap<MPSGraphTensor, MPSGraphTensorData>, targetTensors: Array<MPSGraphTensor>, targetOperations?: (Array<MPSGraphOperation>) | null): NativeMap<MPSGraphTensor, MPSGraphTensorData>Swift declarationfunc run(feeds: [MPSGraphTensor : MPSGraphTensorData], targetTensors: [MPSGraphTensor], targetOperations: [MPSGraphOperation]?) -> [MPSGraphTensor : MPSGraphTensorData]runWithFeedsTargetOperationsResultsDictionary(commandQueue: SDKHandle, feeds: NativeMap<MPSGraphTensor, MPSGraphTensorData>, targetOperations: (Array<MPSGraphOperation>) | null, resultsDictionary: NativeMap<MPSGraphTensor, MPSGraphTensorData>): voidSwift declarationfunc run(with commandQueue: any MTLCommandQueue, feeds: [MPSGraphTensor : MPSGraphTensorData], targetOperations: [MPSGraphOperation]?, resultsDictionary: [MPSGraphTensor : MPSGraphTensorData])runWithFeedsTargetTensorsTargetOperations(commandQueue: SDKHandle, feeds: NativeMap<MPSGraphTensor, MPSGraphTensorData>, targetTensors: Array<MPSGraphTensor>, targetOperations?: (Array<MPSGraphOperation>) | null): NativeMap<MPSGraphTensor, MPSGraphTensorData>Swift declarationfunc run(with commandQueue: any MTLCommandQueue, feeds: [MPSGraphTensor : MPSGraphTensorData], targetTensors: [MPSGraphTensor], targetOperations: [MPSGraphOperation]?) -> [MPSGraphTensor : MPSGraphTensorData]sampleGridWithSourceTensorCoordinateTensorLayoutNormalizeCoordinatesRelativeCoordinatesAlignCornersPaddingModeNearestRoundingModeConstantValueName(source: MPSGraphTensor, coordinates: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, normalizeCoordinates: boolean, relativeCoordinates: boolean, alignCorners: boolean, paddingMode: MPSGraphPaddingMode, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, constantValue: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sampleGrid(withSourceTensor source: MPSGraphTensor, coordinateTensor coordinates: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, normalizeCoordinates: Bool, relativeCoordinates: Bool, alignCorners: Bool, paddingMode: MPSGraphPaddingMode, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, constantValue: Double, name: String?) -> MPSGraphTensorsampleGridWithSourceTensorCoordinateTensorLayoutNormalizeCoordinatesRelativeCoordinatesAlignCornersPaddingModeSamplingModeConstantValueName(source: MPSGraphTensor, coordinates: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, normalizeCoordinates: boolean, relativeCoordinates: boolean, alignCorners: boolean, paddingMode: MPSGraphPaddingMode, samplingMode: MPSGraphResizeMode, constantValue: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sampleGrid(withSourceTensor source: MPSGraphTensor, coordinateTensor coordinates: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, normalizeCoordinates: Bool, relativeCoordinates: Bool, alignCorners: Bool, paddingMode: MPSGraphPaddingMode, samplingMode: MPSGraphResizeMode, constantValue: Double, name: String?) -> MPSGraphTensorscaledDotProductAttentionQueryKeyValueDescriptorName(queryTensor: MPSGraphTensor, keyTensor: MPSGraphTensor, valueTensor: MPSGraphTensor, descriptor: MPSGraphSDPADescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc scaledDotProductAttention(query queryTensor: MPSGraphTensor, key keyTensor: MPSGraphTensor, value valueTensor: MPSGraphTensor, descriptor: MPSGraphSDPADescriptor, name: String?) -> MPSGraphTensorscaledDotProductAttentionQueryKeyValueMaskScaleName(queryTensor: MPSGraphTensor, keyTensor: MPSGraphTensor, valueTensor: MPSGraphTensor, maskTensor: (MPSGraphTensor) | null, scale: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc scaledDotProductAttention(query queryTensor: MPSGraphTensor, key keyTensor: MPSGraphTensor, value valueTensor: MPSGraphTensor, mask maskTensor: MPSGraphTensor?, scale: Float, name: String?) -> MPSGraphTensorscaledDotProductAttentionQueryKeyValueScaleName(queryTensor: MPSGraphTensor, keyTensor: MPSGraphTensor, valueTensor: MPSGraphTensor, scale: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc scaledDotProductAttention(query queryTensor: MPSGraphTensor, key keyTensor: MPSGraphTensor, value valueTensor: MPSGraphTensor, scale: Float, name: String?) -> MPSGraphTensorscatterAlongAxisDataUpdatesIndicesModeName(axis: number, dataTensor: MPSGraphTensor, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, mode: MPSGraphScatterMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc scatterAlongAxis(_ axis: Int, data dataTensor: MPSGraphTensor, updates updatesTensor: MPSGraphTensor, indices indicesTensor: MPSGraphTensor, mode: MPSGraphScatterMode, name: String?) -> MPSGraphTensorscatterAlongAxisUpdatesIndicesShapeModeName(axis: number, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, shape: Array<_Foundation_NSNumber>, mode: MPSGraphScatterMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc scatterAlongAxis(_ axis: Int, updates updatesTensor: MPSGraphTensor, indices indicesTensor: MPSGraphTensor, shape: [NSNumber], mode: MPSGraphScatterMode, name: String?) -> MPSGraphTensorscatterAlongAxisTensorDataUpdatesIndicesModeName(axisTensor: MPSGraphTensor, dataTensor: MPSGraphTensor, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, mode: MPSGraphScatterMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc scatterAlongAxisTensor(_ axisTensor: MPSGraphTensor, data dataTensor: MPSGraphTensor, updates updatesTensor: MPSGraphTensor, indices indicesTensor: MPSGraphTensor, mode: MPSGraphScatterMode, name: String?) -> MPSGraphTensorscatterAlongAxisTensorUpdatesIndicesShapeModeName(axisTensor: MPSGraphTensor, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, shape: Array<_Foundation_NSNumber>, mode: MPSGraphScatterMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc scatterAlongAxisTensor(_ axisTensor: MPSGraphTensor, updates updatesTensor: MPSGraphTensor, indices indicesTensor: MPSGraphTensor, shape: [NSNumber], mode: MPSGraphScatterMode, name: String?) -> MPSGraphTensorscatterNDWithData(dataTensor: MPSGraphTensor, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, batchDimensions: number, mode: MPSGraphScatterMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc scatterNDWithData(_ dataTensor: MPSGraphTensor, updates updatesTensor: MPSGraphTensor, indices indicesTensor: MPSGraphTensor, batchDimensions: Int, mode: MPSGraphScatterMode, name: String?) -> MPSGraphTensorscatterNDWithUpdatesTensorIndicesTensorShapeBatchDimensionsModeName(updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, shape: Array<_Foundation_NSNumber>, batchDimensions: number, mode: MPSGraphScatterMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc scatterND(withUpdatesTensor updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, shape: [NSNumber], batchDimensions: Int, mode: MPSGraphScatterMode, name: String?) -> MPSGraphTensorscatterNDWithUpdatesTensorIndicesTensorShapeBatchDimensionsName(updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, shape: Array<_Foundation_NSNumber>, batchDimensions: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc scatterND(withUpdatesTensor updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, shape: [NSNumber], batchDimensions: Int, name: String?) -> MPSGraphTensorscatterWithData(dataTensor: MPSGraphTensor, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, axis: number, mode: MPSGraphScatterMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc scatterWithData(_ dataTensor: MPSGraphTensor, updates updatesTensor: MPSGraphTensor, indices indicesTensor: MPSGraphTensor, axis: Int, mode: MPSGraphScatterMode, name: String?) -> MPSGraphTensorscatter(updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, shape: Array<_Foundation_NSNumber>, axis: number, mode: MPSGraphScatterMode, name?: (string) | null): MPSGraphTensorSwift declarationfunc scatter(_ updatesTensor: MPSGraphTensor, indices indicesTensor: MPSGraphTensor, shape: [NSNumber], axis: Int, mode: MPSGraphScatterMode, name: String?) -> MPSGraphTensorselect(predicateTensor: MPSGraphTensor, truePredicateTensor: MPSGraphTensor, falseSelectTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc select(predicate predicateTensor: MPSGraphTensor, trueTensor truePredicateTensor: MPSGraphTensor, falseTensor falseSelectTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorshapeOf(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc shapeOf(_ tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsigmoidGradient(gradient: MPSGraphTensor, source: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc sigmoidGradient(withIncomingGradient gradient: MPSGraphTensor, sourceTensor source: MPSGraphTensor, name: String?) -> MPSGraphTensorsigmoid(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc sigmoid(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsign(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc sign(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsignbit(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc signbit(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsin(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc sin(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsingleGateRNNGradientsRecurrentWeightSourceGradientZStateInitStateDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, initState: (MPSGraphTensor) | null, descriptor: MPSGraphSingleGateRNNDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc singleGateRNNGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, initState: MPSGraphTensor?, descriptor: MPSGraphSingleGateRNNDescriptor, name: String?) -> [MPSGraphTensor]singleGateRNNGradientsRecurrentWeightSourceGradientZStateInputWeightBiasInitStateDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, descriptor: MPSGraphSingleGateRNNDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc singleGateRNNGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, descriptor: MPSGraphSingleGateRNNDescriptor, name: String?) -> [MPSGraphTensor]singleGateRNNGradientsRecurrentWeightSourceGradientZStateInputWeightBiasInitStateMaskDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, mask: (MPSGraphTensor) | null, descriptor: MPSGraphSingleGateRNNDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc singleGateRNNGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, mask: MPSGraphTensor?, descriptor: MPSGraphSingleGateRNNDescriptor, name: String?) -> [MPSGraphTensor]singleGateRNNGradientsRecurrentWeightSourceGradientZStateStateGradientInputWeightBiasInitStateMaskDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, stateGradient: (MPSGraphTensor) | null, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, mask: (MPSGraphTensor) | null, descriptor: MPSGraphSingleGateRNNDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc singleGateRNNGradients(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, sourceGradient: MPSGraphTensor, zState: MPSGraphTensor, stateGradient: MPSGraphTensor?, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, mask: MPSGraphTensor?, descriptor: MPSGraphSingleGateRNNDescriptor, name: String?) -> [MPSGraphTensor]singleGateRNNRecurrentWeightInitStateDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, initState: (MPSGraphTensor) | null, descriptor: MPSGraphSingleGateRNNDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc singleGateRNN(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, initState: MPSGraphTensor?, descriptor: MPSGraphSingleGateRNNDescriptor, name: String?) -> [MPSGraphTensor]singleGateRNNRecurrentWeightInputWeightBiasInitStateDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, descriptor: MPSGraphSingleGateRNNDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc singleGateRNN(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, descriptor: MPSGraphSingleGateRNNDescriptor, name: String?) -> [MPSGraphTensor]singleGateRNNRecurrentWeightInputWeightBiasInitStateMaskDescriptorName(source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: (MPSGraphTensor) | null, bias: (MPSGraphTensor) | null, initState: (MPSGraphTensor) | null, mask: (MPSGraphTensor) | null, descriptor: MPSGraphSingleGateRNNDescriptor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc singleGateRNN(_ source: MPSGraphTensor, recurrentWeight: MPSGraphTensor, inputWeight: MPSGraphTensor?, bias: MPSGraphTensor?, initState: MPSGraphTensor?, mask: MPSGraphTensor?, descriptor: MPSGraphSingleGateRNNDescriptor, name: String?) -> [MPSGraphTensor]sinh(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc sinh(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsliceGradientTensorFwdInShapeTensorStartEndStrideTensorStartMaskEndMaskSqueezeMaskName(inputGradientTensor: MPSGraphTensor, fwdInShapeTensor: MPSGraphTensor, startTensor: MPSGraphTensor, endTensor: MPSGraphTensor, strideTensor: MPSGraphTensor, startMask: number, endMask: number, squeezeMask: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceGradientTensor(_ inputGradientTensor: MPSGraphTensor, fwdInShapeTensor: MPSGraphTensor, start startTensor: MPSGraphTensor, end endTensor: MPSGraphTensor, strideTensor: MPSGraphTensor, startMask: UInt32, endMask: UInt32, squeezeMask: UInt32, name: String?) -> MPSGraphTensorsliceGradientTensorFwdInShapeTensorStartSizeTensorSqueezeMaskName(inputGradientTensor: MPSGraphTensor, fwdInShapeTensor: MPSGraphTensor, startTensor: MPSGraphTensor, sizeTensor: MPSGraphTensor, squeezeMask: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceGradientTensor(_ inputGradientTensor: MPSGraphTensor, fwdInShapeTensor: MPSGraphTensor, start startTensor: MPSGraphTensor, sizeTensor: MPSGraphTensor, squeezeMask: UInt32, name: String?) -> MPSGraphTensorsliceGradientTensorFwdInShapeTensorStartsEndsStridesName(inputGradientTensor: MPSGraphTensor, fwdInShapeTensor: MPSGraphTensor, starts: Array<_Foundation_NSNumber>, ends: Array<_Foundation_NSNumber>, strides: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceGradientTensor(_ inputGradientTensor: MPSGraphTensor, fwdInShapeTensor: MPSGraphTensor, starts: [NSNumber], ends: [NSNumber], strides: [NSNumber], name: String?) -> MPSGraphTensorsliceGradientTensorFwdInShapeTensorStartsEndsStridesStartMaskEndMaskSqueezeMaskName(inputGradientTensor: MPSGraphTensor, fwdInShapeTensor: MPSGraphTensor, starts: Array<_Foundation_NSNumber>, ends: Array<_Foundation_NSNumber>, strides: Array<_Foundation_NSNumber>, startMask: number, endMask: number, squeezeMask: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceGradientTensor(_ inputGradientTensor: MPSGraphTensor, fwdInShapeTensor: MPSGraphTensor, starts: [NSNumber], ends: [NSNumber], strides: [NSNumber], startMask: UInt32, endMask: UInt32, squeezeMask: UInt32, name: String?) -> MPSGraphTensorsliceTensorDimensionStartLengthName(tensor: MPSGraphTensor, dimensionIndex: number, start: number, length: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceTensor(_ tensor: MPSGraphTensor, dimension dimensionIndex: Int, start: Int, length: Int, name: String?) -> MPSGraphTensorsliceTensorStartEndStrideTensorStartMaskEndMaskSqueezeMaskName(tensor: MPSGraphTensor, startTensor: MPSGraphTensor, endTensor: MPSGraphTensor, strideTensor: MPSGraphTensor, startMask: number, endMask: number, squeezeMask: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceTensor(_ tensor: MPSGraphTensor, start startTensor: MPSGraphTensor, end endTensor: MPSGraphTensor, strideTensor: MPSGraphTensor, startMask: UInt32, endMask: UInt32, squeezeMask: UInt32, name: String?) -> MPSGraphTensorsliceTensorStartSizeTensorSqueezeMaskName(tensor: MPSGraphTensor, startTensor: MPSGraphTensor, sizeTensor: MPSGraphTensor, squeezeMask: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceTensor(_ tensor: MPSGraphTensor, start startTensor: MPSGraphTensor, sizeTensor: MPSGraphTensor, squeezeMask: UInt32, name: String?) -> MPSGraphTensorsliceTensorStartsEndsStridesName(tensor: MPSGraphTensor, starts: Array<_Foundation_NSNumber>, ends: Array<_Foundation_NSNumber>, strides: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceTensor(_ tensor: MPSGraphTensor, starts: [NSNumber], ends: [NSNumber], strides: [NSNumber], name: String?) -> MPSGraphTensorsliceTensorStartsEndsStridesStartMaskEndMaskSqueezeMaskName(tensor: MPSGraphTensor, starts: Array<_Foundation_NSNumber>, ends: Array<_Foundation_NSNumber>, strides: Array<_Foundation_NSNumber>, startMask: number, endMask: number, squeezeMask: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceTensor(_ tensor: MPSGraphTensor, starts: [NSNumber], ends: [NSNumber], strides: [NSNumber], startMask: UInt32, endMask: UInt32, squeezeMask: UInt32, name: String?) -> MPSGraphTensorsliceUpdateDataTensorUpdateStartsEndsStridesName(dataTensor: MPSGraphTensor, updateTensor: MPSGraphTensor, starts: Array<_Foundation_NSNumber>, ends: Array<_Foundation_NSNumber>, strides: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceUpdateDataTensor(_ dataTensor: MPSGraphTensor, update updateTensor: MPSGraphTensor, starts: [NSNumber], ends: [NSNumber], strides: [NSNumber], name: String?) -> MPSGraphTensorsliceUpdateDataTensorUpdateStartsEndsStridesStartMaskEndMaskSqueezeMaskName(dataTensor: MPSGraphTensor, updateTensor: MPSGraphTensor, starts: Array<_Foundation_NSNumber>, ends: Array<_Foundation_NSNumber>, strides: Array<_Foundation_NSNumber>, startMask: number, endMask: number, squeezeMask: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceUpdateDataTensor(_ dataTensor: MPSGraphTensor, update updateTensor: MPSGraphTensor, starts: [NSNumber], ends: [NSNumber], strides: [NSNumber], startMask: UInt32, endMask: UInt32, squeezeMask: UInt32, name: String?) -> MPSGraphTensorsliceUpdateDataTensorUpdateStartsTensorEndsTensorStridesTensorName(dataTensor: MPSGraphTensor, updateTensor: MPSGraphTensor, startsTensor: MPSGraphTensor, endsTensor: MPSGraphTensor, stridesTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceUpdateDataTensor(_ dataTensor: MPSGraphTensor, update updateTensor: MPSGraphTensor, startsTensor: MPSGraphTensor, endsTensor: MPSGraphTensor, stridesTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsliceUpdateDataTensorUpdateStartsTensorEndsTensorStridesTensorStartMaskEndMaskSqueezeMaskName(dataTensor: MPSGraphTensor, updateTensor: MPSGraphTensor, startsTensor: MPSGraphTensor, endsTensor: MPSGraphTensor, stridesTensor: MPSGraphTensor, startMask: number, endMask: number, squeezeMask: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sliceUpdateDataTensor(_ dataTensor: MPSGraphTensor, update updateTensor: MPSGraphTensor, startsTensor: MPSGraphTensor, endsTensor: MPSGraphTensor, stridesTensor: MPSGraphTensor, startMask: UInt32, endMask: UInt32, squeezeMask: UInt32, name: String?) -> MPSGraphTensorsoftMaxCrossEntropyGradient(gradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, labelsTensor: MPSGraphTensor, axis: number, reductionType: MPSGraphLossReductionType, name?: (string) | null): MPSGraphTensorSwift declarationfunc softMaxCrossEntropyGradient(_ gradientTensor: MPSGraphTensor, source sourceTensor: MPSGraphTensor, labels labelsTensor: MPSGraphTensor, axis: Int, reuctionType reductionType: MPSGraphLossReductionType, name: String?) -> MPSGraphTensorsoftMaxCrossEntropy(sourceTensor: MPSGraphTensor, labelsTensor: MPSGraphTensor, axis: number, reductionType: MPSGraphLossReductionType, name?: (string) | null): MPSGraphTensorSwift declarationfunc softMaxCrossEntropy(_ sourceTensor: MPSGraphTensor, labels labelsTensor: MPSGraphTensor, axis: Int, reuctionType reductionType: MPSGraphLossReductionType, name: String?) -> MPSGraphTensorsoftMaxGradient(gradient: MPSGraphTensor, source: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc softMaxGradient(withIncomingGradient gradient: MPSGraphTensor, sourceTensor source: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorsoftMax(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc softMax(with tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorsortAxisDescendingName(tensor: MPSGraphTensor, axis: number, descending: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc sort(_ tensor: MPSGraphTensor, axis: Int, descending: Bool, name: String?) -> MPSGraphTensorsortAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc sort(_ tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorsortAxisTensorDescendingName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, descending: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc sort(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, descending: Bool, name: String?) -> MPSGraphTensorsortAxisTensorName(tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc sort(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorspaceToBatchSpatialAxesBatchAxisBlockDimensionsUsePixelShuffleOrderName(tensor: MPSGraphTensor, spatialAxes: Array<_Foundation_NSNumber>, batchAxis: number, blockDimensions: Array<_Foundation_NSNumber>, usePixelShuffleOrder: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc spaceToBatch(_ tensor: MPSGraphTensor, spatialAxes: [NSNumber], batchAxis: Int, blockDimensions: [NSNumber], usePixelShuffleOrder: Bool, name: String?) -> MPSGraphTensorspaceToBatchSpatialAxesTensorBatchAxisTensorBlockDimensionsTensorUsePixelShuffleOrderName(tensor: MPSGraphTensor, spatialAxesTensor: MPSGraphTensor, batchAxisTensor: MPSGraphTensor, blockDimensionsTensor: MPSGraphTensor, usePixelShuffleOrder: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc spaceToBatch(_ tensor: MPSGraphTensor, spatialAxesTensor: MPSGraphTensor, batchAxisTensor: MPSGraphTensor, blockDimensionsTensor: MPSGraphTensor, usePixelShuffleOrder: Bool, name: String?) -> MPSGraphTensorspaceToDepth2DTensorWidthAxisHeightAxisDepthAxisBlockSizeUsePixelShuffleOrderName(tensor: MPSGraphTensor, widthAxis: number, heightAxis: number, depthAxis: number, blockSize: number, usePixelShuffleOrder: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc space(toDepth2DTensor tensor: MPSGraphTensor, widthAxis: Int, heightAxis: Int, depthAxis: Int, blockSize: Int, usePixelShuffleOrder: Bool, name: String?) -> MPSGraphTensorspaceToDepth2DTensorWidthAxisTensorHeightAxisTensorDepthAxisTensorBlockSizeUsePixelShuffleOrderName(tensor: MPSGraphTensor, widthAxisTensor: MPSGraphTensor, heightAxisTensor: MPSGraphTensor, depthAxisTensor: MPSGraphTensor, blockSize: number, usePixelShuffleOrder: boolean, name?: (string) | null): MPSGraphTensorSwift declarationfunc space(toDepth2DTensor tensor: MPSGraphTensor, widthAxisTensor: MPSGraphTensor, heightAxisTensor: MPSGraphTensor, depthAxisTensor: MPSGraphTensor, blockSize: Int, usePixelShuffleOrder: Bool, name: String?) -> MPSGraphTensorsparseTensorSparseTensorWithDescriptorTensorsShapeName(sparseDescriptor: MPSGraphCreateSparseOpDescriptor, inputTensorArray: Array<MPSGraphTensor>, shape: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc sparseTensor(sparseTensorWithDescriptor sparseDescriptor: MPSGraphCreateSparseOpDescriptor, tensors inputTensorArray: [MPSGraphTensor], shape: [NSNumber], name: String?) -> MPSGraphTensorsparseTensorSparseTensorWithTypeTensorsShapeDataTypeName(sparseStorageType: MPSGraphSparseStorageType, inputTensorArray: Array<MPSGraphTensor>, shape: Array<_Foundation_NSNumber>, dataType: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc sparseTensor(sparseTensorWithType sparseStorageType: MPSGraphSparseStorageType, tensors inputTensorArray: [MPSGraphTensor], shape: [NSNumber], dataType: MPSDataType, name: String?) -> MPSGraphTensorsplitNumSplitsAxisName(tensor: MPSGraphTensor, numSplits: number, axis: number, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc split(_ tensor: MPSGraphTensor, numSplits: Int, axis: Int, name: String?) -> [MPSGraphTensor]splitSplitSizesAxisName(tensor: MPSGraphTensor, splitSizes: Array<_Foundation_NSNumber>, axis: number, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc split(_ tensor: MPSGraphTensor, splitSizes: [NSNumber], axis: Int, name: String?) -> [MPSGraphTensor]splitSplitSizesTensorAxisName(tensor: MPSGraphTensor, splitSizesTensor: MPSGraphTensor, axis: number, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc split(_ tensor: MPSGraphTensor, splitSizesTensor: MPSGraphTensor, axis: Int, name: String?) -> [MPSGraphTensor]squareRoot(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc squareRoot(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsquare(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc square(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsqueezeAxesName(tensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc squeeze(_ tensor: MPSGraphTensor, axes: [NSNumber], name: String?) -> MPSGraphTensorsqueezeAxesTensorName(tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc squeeze(_ tensor: MPSGraphTensor, axesTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsqueezeAxisName(tensor: MPSGraphTensor, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc squeeze(_ tensor: MPSGraphTensor, axis: Int, name: String?) -> MPSGraphTensorsqueezeName(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc squeeze(_ tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorstack(inputTensors: Array<MPSGraphTensor>, axis: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc stack(_ inputTensors: [MPSGraphTensor], axis: Int, name: String?) -> MPSGraphTensorstencil(source: MPSGraphTensor, weights: MPSGraphTensor, descriptor: MPSGraphStencilOpDescriptor, name?: (string) | null): MPSGraphTensorSwift declarationfunc stencil(withSourceTensor source: MPSGraphTensor, weightsTensor weights: MPSGraphTensor, descriptor: MPSGraphStencilOpDescriptor, name: String?) -> MPSGraphTensorstochasticGradientDescent(learningRateTensor: MPSGraphTensor, valuesTensor: MPSGraphTensor, gradientTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc stochasticGradientDescent(learningRate learningRateTensor: MPSGraphTensor, values valuesTensor: MPSGraphTensor, gradient gradientTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorsubtraction(primaryTensor: MPSGraphTensor, secondaryTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc subtraction(_ primaryTensor: MPSGraphTensor, _ secondaryTensor: MPSGraphTensor, name: String?) -> MPSGraphTensortan(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc tan(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensortanh(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc tanh(with tensor: MPSGraphTensor, name: String?) -> MPSGraphTensortileGradient(incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, multiplier: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc tileGradient(withIncomingGradientTensor incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, withMultiplier multiplier: [NSNumber], name: String?) -> MPSGraphTensortileTensor(tensor: MPSGraphTensor, multiplier: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc tileTensor(_ tensor: MPSGraphTensor, withMultiplier multiplier: [NSNumber], name: String?) -> MPSGraphTensortopKGradientSourceAxisKName(gradient: MPSGraphTensor, source: MPSGraphTensor, axis: number, k: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc topKGradient(_ gradient: MPSGraphTensor, source: MPSGraphTensor, axis: Int, k: Int, name: String?) -> MPSGraphTensortopKGradientSourceAxisTensorKTensorName(gradient: MPSGraphTensor, source: MPSGraphTensor, axisTensor: MPSGraphTensor, kTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc topKGradient(_ gradient: MPSGraphTensor, source: MPSGraphTensor, axisTensor: MPSGraphTensor, kTensor: MPSGraphTensor, name: String?) -> MPSGraphTensortopKGradientInputKName(gradient: MPSGraphTensor, source: MPSGraphTensor, k: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc topKGradient(_ gradient: MPSGraphTensor, input source: MPSGraphTensor, k: Int, name: String?) -> MPSGraphTensortopKGradientInputKTensorName(gradient: MPSGraphTensor, source: MPSGraphTensor, kTensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc topKGradient(_ gradient: MPSGraphTensor, input source: MPSGraphTensor, kTensor: MPSGraphTensor, name: String?) -> MPSGraphTensortopKAxisKName(source: MPSGraphTensor, axis: number, k: number, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc topK(_ source: MPSGraphTensor, axis: Int, k: Int, name: String?) -> [MPSGraphTensor]topKAxisTensorKTensorName(source: MPSGraphTensor, axisTensor: MPSGraphTensor, kTensor: MPSGraphTensor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc topK(_ source: MPSGraphTensor, axisTensor: MPSGraphTensor, kTensor: MPSGraphTensor, name: String?) -> [MPSGraphTensor]topKKName(source: MPSGraphTensor, k: number, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc topK(_ source: MPSGraphTensor, k: Int, name: String?) -> [MPSGraphTensor]topKKTensorName(source: MPSGraphTensor, kTensor: MPSGraphTensor, name?: (string) | null): Array<MPSGraphTensor>Swift declarationfunc topK(_ source: MPSGraphTensor, kTensor: MPSGraphTensor, name: String?) -> [MPSGraphTensor]transposeTensor(tensor: MPSGraphTensor, dimensionIndex: number, dimensionIndex2: number, name?: (string) | null): MPSGraphTensorSwift declarationfunc transposeTensor(_ tensor: MPSGraphTensor, dimension dimensionIndex: Int, withDimension dimensionIndex2: Int, name: String?) -> MPSGraphTensortranspose(tensor: MPSGraphTensor, permutation: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc transpose(_ tensor: MPSGraphTensor, permutation: [NSNumber], name: String?) -> MPSGraphTensortruncate(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc truncate(_ tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorvariableFromTensor(tensor: MPSGraphTensor, name?: (string) | null): MPSGraphTensorSwift declarationfunc variableFromTensor(_ tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorvariable(data: ArrayBuffer, shape: Array<_Foundation_NSNumber>, dataType: _MetalPerformanceShaders_MPSDataType, name?: (string) | null): MPSGraphTensorSwift declarationfunc variable(with data: Data, shape: [NSNumber], dataType: MPSDataType, name: String?) -> MPSGraphTensorvarianceOfAxesName(tensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc variance(of tensor: MPSGraphTensor, axes: [NSNumber], name: String?) -> MPSGraphTensorvarianceOfMeanAxesName(tensor: MPSGraphTensor, meanTensor: MPSGraphTensor, axes: Array<_Foundation_NSNumber>, name?: (string) | null): MPSGraphTensorSwift declarationfunc variance(of tensor: MPSGraphTensor, mean meanTensor: MPSGraphTensor, axes: [NSNumber], name: String?) -> MPSGraphTensorget options(): MPSGraphOptionsSwift declarationvar options: MPSGraphOptions { get set }set options(value: MPSGraphOptions)Swift declarationvar options: MPSGraphOptions { get set }get placeholderTensors(): Array<MPSGraphTensor>Swift declarationvar placeholderTensors: [MPSGraphTensor] { get }5 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSGraph.controlDependency(with:dependentBlock:name:)
callback cannot propagate synchronous failure
MPSGraph.if(_:then:else:name:)
callback cannot propagate synchronous failure
MPSGraph.while(initialInputs:before:after:name:)
callback cannot propagate synchronous failure
MPSGraph.for(lowerBound:upperBound:step:initialBodyArguments:body:name:)
callback cannot propagate synchronous failure
MPSGraph.for(numberOfIterations:initialBodyArguments:body:name:)
callback cannot propagate synchronous failure