Uses of Class
org.robovm.apple.metalps.MPSMatrix
-
Packages that use MPSMatrix Package Description org.robovm.apple.metalps -
-
Uses of MPSMatrix in org.robovm.apple.metalps
Subclasses of MPSMatrix in org.robovm.apple.metalps Modifier and Type Class Description class
MPSTemporaryMatrix
Methods in org.robovm.apple.metalps that return MPSMatrix Modifier and Type Method Description MPSMatrix
MPSRNNRecurrentMatrixState. getMemoryCellMatrixForLayerIndex(long layerIndex)
MPSMatrix
MPSRNNRecurrentMatrixState. getRecurrentOutputMatrixForLayerIndex(long layerIndex)
Methods in org.robovm.apple.metalps with parameters of type MPSMatrix Modifier and Type Method Description static MPSMatrixCopyDescriptor
MPSMatrixCopyDescriptor. create(MPSMatrix sourceMatrix, MPSMatrix destinationMatrix, MPSMatrixCopyOffsets offsets)
void
MPSImageCopyToMatrix. encode(MTLCommandBuffer commandBuffer, NSArray<MPSImage> sourceImages, MPSMatrix destinationMatrix)
void
MPSImageCopyToMatrix. encode(MTLCommandBuffer commandBuffer, MPSImage sourceImage, MPSMatrix destinationMatrix)
void
MPSMatrixDecompositionCholesky. encode(MTLCommandBuffer commandBuffer, MPSMatrix sourceMatrix, MPSMatrix resultMatrix, MTLBuffer status)
void
MPSMatrixDecompositionLU. encode(MTLCommandBuffer commandBuffer, MPSMatrix sourceMatrix, MPSMatrix resultMatrix, MPSMatrix pivotIndices, MTLBuffer status)
void
MPSMatrixFindTopK. encode(MTLCommandBuffer commandBuffer, MPSMatrix inputMatrix, MPSMatrix resultIndexMatrix, MPSMatrix resultValueMatrix)
void
MPSMatrixFullyConnected. encode(MTLCommandBuffer commandBuffer, MPSMatrix inputMatrix, MPSMatrix weightMatrix, MPSVector biasVector, MPSMatrix resultMatrix)
void
MPSMatrixMultiplication. encode(MTLCommandBuffer commandBuffer, MPSMatrix leftMatrix, MPSMatrix rightMatrix, MPSMatrix resultMatrix)
void
MPSMatrixNeuron. encode(MTLCommandBuffer commandBuffer, MPSMatrix inputMatrix, MPSVector biasVector, MPSMatrix resultMatrix)
void
MPSMatrixSoftMax. encode(MTLCommandBuffer commandBuffer, MPSMatrix inputMatrix, MPSMatrix resultMatrix)
void
MPSMatrixSolveCholesky. encode(MTLCommandBuffer commandBuffer, MPSMatrix sourceMatrix, MPSMatrix rightHandSideMatrix, MPSMatrix solutionMatrix)
void
MPSMatrixSolveLU. encode(MTLCommandBuffer commandBuffer, MPSMatrix sourceMatrix, MPSMatrix rightHandSideMatrix, MPSMatrix pivotIndices, MPSMatrix solutionMatrix)
void
MPSMatrixSolveTriangular. encode(MTLCommandBuffer commandBuffer, MPSMatrix sourceMatrix, MPSMatrix rightHandSideMatrix, MPSMatrix solutionMatrix)
void
MPSMatrixSum. encode(MTLCommandBuffer buffer, NSArray<MPSMatrix> sourceMatrices, MPSMatrix resultMatrix, MPSVector scaleVector, MPSVector offsetVector, MPSVector biasVector, long startIndex)
void
MPSMatrixVectorMultiplication. encode(MTLCommandBuffer commandBuffer, MPSMatrix inputMatrix, MPSVector inputVector, MPSVector resultVector)
void
MPSMatrixCopyToImage. encodeBatchToCommandBuffer(MTLCommandBuffer commandBuffer, MPSMatrix sourceMatrix, NSArray<MPSImage> destinationImages)
void
MPSRNNMatrixTrainingLayer. encodeCopyWeightsToCommandBuffer(MTLCommandBuffer commandBuffer, NSArray<MPSMatrix> weights, MPSRNNMatrixId matrixId, MPSMatrix matrix, boolean copyFromWeightsToMatrix, MTLOrigin matrixOffset)
void
MPSMatrixFullyConnectedGradient. encodeGradient(MTLCommandBuffer commandBuffer, MPSMatrix gradientMatrix, MPSMatrix weightMatrix, MPSMatrix resultGradientForDataMatrix)
void
MPSMatrixFullyConnectedGradient. encodeGradient(MTLCommandBuffer commandBuffer, MPSMatrix gradientMatrix, MPSMatrix inputMatrix, MPSMatrix resultGradientForWeightMatrix, MPSVector resultGradientForBiasVector)
void
MPSMatrixBatchNormalization. encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSMatrix inputMatrix, MPSVector meanVector, MPSVector varianceVector, MPSVector gammaVector, MPSVector betaVector, MPSMatrix resultMatrix)
void
MPSMatrixBatchNormalizationGradient. encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSMatrix gradientMatrix, MPSMatrix inputMatrix, MPSVector meanVector, MPSVector varianceVector, MPSVector gammaVector, MPSVector betaVector, MPSMatrix resultGradientForDataMatrix, MPSVector resultGradientForGammaVector, MPSVector resultGradientForBetaVector)
void
MPSMatrixCopyToImage. encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSMatrix sourceMatrix, MPSImage destinationImage)
void
MPSMatrixNeuronGradient. encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSMatrix gradientMatrix, MPSMatrix inputMatrix, MPSVector biasVector, MPSMatrix resultGradientForDataMatrix, MPSVector resultGradientForBiasVector)
void
MPSMatrixSoftMaxGradient. encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSMatrix gradientMatrix, MPSMatrix forwardOutputMatrix, MPSMatrix resultMatrix)
void
MPSMatrixCopyDescriptor. setCopyOperation(long index, MPSMatrix sourceMatrix, MPSMatrix destinationMatrix, MPSMatrixCopyOffsets offsets)
Method parameters in org.robovm.apple.metalps with type arguments of type MPSMatrix Modifier and Type Method Description void
MPSRNNMatrixTrainingLayer. createTemporaryWeightGradientMatrices(NSMutableArray<MPSMatrix> matricesOut, MPSDataType dataType, MTLCommandBuffer commandBuffer)
void
MPSRNNMatrixTrainingLayer. createWeightGradientMatrices(NSMutableArray<MPSMatrix> matricesOut, MPSDataType dataType)
void
MPSRNNMatrixTrainingLayer. createWeightMatrices(NSMutableArray<MPSMatrix> matricesOut)
void
MPSMatrixSum. encode(MTLCommandBuffer buffer, NSArray<MPSMatrix> sourceMatrices, MPSMatrix resultMatrix, MPSVector scaleVector, MPSVector offsetVector, MPSVector biasVector, long startIndex)
void
MPSRNNMatrixInferenceLayer. encodeBidirectionalSequence(MTLCommandBuffer commandBuffer, NSArray<MPSMatrix> sourceSequence, NSArray<MPSMatrix> destinationForwardMatrices, NSArray<MPSMatrix> destinationBackwardMatrices)
void
MPSRNNMatrixTrainingLayer. encodeCopyWeightsToCommandBuffer(MTLCommandBuffer commandBuffer, NSArray<MPSMatrix> weights, MPSRNNMatrixId matrixId, MPSMatrix matrix, boolean copyFromWeightsToMatrix, MTLOrigin matrixOffset)
void
MPSRNNMatrixTrainingLayer. encodeForwardSequenceToCommandBuffer(MTLCommandBuffer commandBuffer, NSArray<MPSMatrix> sourceMatrices, NSArray<MPSMatrix> destinationMatrices, NSMutableArray<MPSRNNMatrixTrainingState> trainingStates, NSArray<MPSMatrix> weights)
void
MPSRNNMatrixTrainingLayer. encodeForwardSequenceToCommandBuffer(MTLCommandBuffer commandBuffer, NSArray<MPSMatrix> sourceMatrices, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sourceOffsets, NSArray<MPSMatrix> destinationMatrices, org.robovm.rt.bro.ptr.MachineSizedUIntPtr destinationOffsets, NSMutableArray<MPSRNNMatrixTrainingState> trainingStates, MPSRNNRecurrentMatrixState recurrentInputState, NSMutableArray<MPSRNNRecurrentMatrixState> recurrentOutputStates, NSArray<MPSMatrix> weights)
void
MPSRNNMatrixTrainingLayer. encodeGradientSequenceToCommandBuffer(MTLCommandBuffer commandBuffer, NSArray<MPSMatrix> forwardSources, NSArray<MPSMatrix> sourceGradients, NSArray<MPSMatrix> destinationGradients, NSArray<MPSMatrix> weightGradients, NSArray<MPSRNNMatrixTrainingState> trainingStates, NSArray<MPSMatrix> weights)
void
MPSRNNMatrixTrainingLayer. encodeGradientSequenceToCommandBuffer(MTLCommandBuffer commandBuffer, NSArray<MPSMatrix> forwardSources, org.robovm.rt.bro.ptr.MachineSizedUIntPtr forwardSourceOffsets, NSArray<MPSMatrix> sourceGradients, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sourceGradientOffsets, NSArray<MPSMatrix> destinationGradients, org.robovm.rt.bro.ptr.MachineSizedUIntPtr destinationOffsets, NSArray<MPSMatrix> weightGradients, NSArray<MPSRNNMatrixTrainingState> trainingStates, MPSRNNRecurrentMatrixState recurrentInputState, NSMutableArray<MPSRNNRecurrentMatrixState> recurrentOutputStates, NSArray<MPSMatrix> weights)
void
MPSRNNMatrixInferenceLayer. encodeSequence(MTLCommandBuffer commandBuffer, NSArray<MPSMatrix> sourceMatrices, NSArray<MPSMatrix> destinationMatrices, MPSRNNRecurrentMatrixState recurrentInputState, NSMutableArray<MPSRNNRecurrentMatrixState> recurrentOutputStates)
void
MPSRNNMatrixInferenceLayer. encodeSequence(MTLCommandBuffer commandBuffer, NSArray<MPSMatrix> sourceMatrices, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sourceOffsets, NSArray<MPSMatrix> destinationMatrices, org.robovm.rt.bro.ptr.MachineSizedUIntPtr destinationOffsets, MPSRNNRecurrentMatrixState recurrentInputState, NSMutableArray<MPSRNNRecurrentMatrixState> recurrentOutputStates)
protected long
MPSMatrixCopyDescriptor. init(NSArray<MPSMatrix> sourceMatrices, NSArray<MPSMatrix> destinationMatrices, MPSVector offsets, long byteOffset)
protected long
MPSRNNMatrixTrainingLayer. init(MTLDevice device, MPSRNNDescriptor rnnDescriptor, NSMutableArray<MPSMatrix> trainableWeights)
Constructor parameters in org.robovm.apple.metalps with type arguments of type MPSMatrix Constructor Description MPSMatrixCopyDescriptor(NSArray<MPSMatrix> sourceMatrices, NSArray<MPSMatrix> destinationMatrices, MPSVector offsets, long byteOffset)
MPSRNNMatrixTrainingLayer(MTLDevice device, MPSRNNDescriptor rnnDescriptor, NSMutableArray<MPSMatrix> trainableWeights)
-