MPSRnnMatrixTrainingLayer.EncodeForwardSequence Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
EncodeForwardSequence(IMTLCommandBuffer, MPSMatrix[], MPSMatrix[], NSMutableArray<MPSRnnMatrixTrainingState>, MPSMatrix[])
[Foundation.Export("encodeForwardSequenceToCommandBuffer:sourceMatrices:destinationMatrices:trainingStates:weights:")]
public virtual void EncodeForwardSequence (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSMatrix[] sourceMatrices, MetalPerformanceShaders.MPSMatrix[] destinationMatrices, Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnMatrixTrainingState> trainingStates, MetalPerformanceShaders.MPSMatrix[] weights);
abstract member EncodeForwardSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnMatrixTrainingState> * MetalPerformanceShaders.MPSMatrix[] -> unit
override this.EncodeForwardSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnMatrixTrainingState> * MetalPerformanceShaders.MPSMatrix[] -> unit
Paramètres
- commandBuffer
- IMTLCommandBuffer
- sourceMatrices
- MPSMatrix[]
- destinationMatrices
- MPSMatrix[]
- trainingStates
- NSMutableArray<MPSRnnMatrixTrainingState>
- weights
- MPSMatrix[]
- Attributs
S’applique à
EncodeForwardSequence(IMTLCommandBuffer, MPSMatrix[], IntPtr, MPSMatrix[], IntPtr, NSMutableArray<MPSRnnMatrixTrainingState>, MPSRnnRecurrentMatrixState, NSMutableArray<MPSRnnRecurrentMatrixState>, MPSMatrix[])
[Foundation.Export("encodeForwardSequenceToCommandBuffer:sourceMatrices:sourceOffsets:destinationMatrices:destinationOffsets:trainingStates:recurrentInputState:recurrentOutputStates:weights:")]
public virtual void EncodeForwardSequence (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSMatrix[] sourceMatrices, IntPtr sourceOffsets, MetalPerformanceShaders.MPSMatrix[] destinationMatrices, IntPtr destinationOffsets, Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnMatrixTrainingState> trainingStates, MetalPerformanceShaders.MPSRnnRecurrentMatrixState recurrentInputState, Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> recurrentOutputStates, MetalPerformanceShaders.MPSMatrix[] weights);
abstract member EncodeForwardSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSMatrix[] * nativeint * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnMatrixTrainingState> * MetalPerformanceShaders.MPSRnnRecurrentMatrixState * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> * MetalPerformanceShaders.MPSMatrix[] -> unit
override this.EncodeForwardSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSMatrix[] * nativeint * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnMatrixTrainingState> * MetalPerformanceShaders.MPSRnnRecurrentMatrixState * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> * MetalPerformanceShaders.MPSMatrix[] -> unit
Paramètres
- commandBuffer
- IMTLCommandBuffer
- sourceMatrices
- MPSMatrix[]
- sourceOffsets
-
IntPtr
nativeint
- destinationMatrices
- MPSMatrix[]
- destinationOffsets
-
IntPtr
nativeint
- trainingStates
- NSMutableArray<MPSRnnMatrixTrainingState>
- recurrentInputState
- MPSRnnRecurrentMatrixState
- recurrentOutputStates
- NSMutableArray<MPSRnnRecurrentMatrixState>
- weights
- MPSMatrix[]
- Attributs