Leggere in inglese

Condividi tramite


MPSRnnMatrixTrainingLayer.EncodeGradientSequence Metodo

Definizione

Overload

EncodeGradientSequence(IMTLCommandBuffer, MPSMatrix[], MPSMatrix[], MPSMatrix[], MPSMatrix[], MPSRnnMatrixTrainingState[], MPSMatrix[])

[Foundation.Export("encodeGradientSequenceToCommandBuffer:forwardSources:sourceGradients:destinationGradients:weightGradients:trainingStates:weights:")]
public virtual void EncodeGradientSequence(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSMatrix[] forwardSources, MetalPerformanceShaders.MPSMatrix[] sourceGradients, MetalPerformanceShaders.MPSMatrix[] destinationGradients, MetalPerformanceShaders.MPSMatrix[] weightGradients, MetalPerformanceShaders.MPSRnnMatrixTrainingState[] trainingStates, MetalPerformanceShaders.MPSMatrix[] weights);

Parametri

commandBuffer
IMTLCommandBuffer
forwardSources
MPSMatrix[]
sourceGradients
MPSMatrix[]
destinationGradients
MPSMatrix[]
weightGradients
MPSMatrix[]
trainingStates
MPSRnnMatrixTrainingState[]
weights
MPSMatrix[]
Attributi

Si applica a

Xamarin iOS SDK 12
Prodotto Versioni
Xamarin iOS SDK 12

EncodeGradientSequence(IMTLCommandBuffer, MPSMatrix[], IntPtr, MPSMatrix[], IntPtr, MPSMatrix[], IntPtr, MPSMatrix[], MPSRnnMatrixTrainingState[], MPSRnnRecurrentMatrixState, NSMutableArray<MPSRnnRecurrentMatrixState>, MPSMatrix[])

[Foundation.Export("encodeGradientSequenceToCommandBuffer:forwardSources:forwardSourceOffsets:sourceGradients:sourceGradientOffsets:destinationGradients:destinationOffsets:weightGradients:trainingStates:recurrentInputState:recurrentOutputStates:weights:")]
public virtual void EncodeGradientSequence(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSMatrix[] forwardSources, IntPtr forwardSourceOffsets, MetalPerformanceShaders.MPSMatrix[] sourceGradients, IntPtr sourceGradientOffsets, MetalPerformanceShaders.MPSMatrix[] destinationGradients, IntPtr destinationOffsets, MetalPerformanceShaders.MPSMatrix[] weightGradients, MetalPerformanceShaders.MPSRnnMatrixTrainingState[] trainingStates, MetalPerformanceShaders.MPSRnnRecurrentMatrixState recurrentInputState, Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> recurrentOutputStates, MetalPerformanceShaders.MPSMatrix[] weights);

Parametri

commandBuffer
IMTLCommandBuffer
forwardSources
MPSMatrix[]
forwardSourceOffsets
IntPtr
sourceGradients
MPSMatrix[]
sourceGradientOffsets
IntPtr
destinationGradients
MPSMatrix[]
destinationOffsets
IntPtr
weightGradients
MPSMatrix[]
trainingStates
MPSRnnMatrixTrainingState[]
recurrentInputState
MPSRnnRecurrentMatrixState
weights
MPSMatrix[]
Attributi

Si applica a

Xamarin iOS SDK 12
Prodotto Versioni
Xamarin iOS SDK 12