MPSRnnMatrixTrainingLayer.EncodeForwardSequence Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- commandBuffer
- IMTLCommandBuffer
- sourceMatrices
- MPSMatrix[]
- destinationMatrices
- MPSMatrix[]
- trainingStates
- NSMutableArray<MPSRnnMatrixTrainingState>
- weights
- MPSMatrix[]
- Attributes
Applies to
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
Parameters
- commandBuffer
- IMTLCommandBuffer
- sourceMatrices
- MPSMatrix[]
- sourceOffsets
-
IntPtr
nativeint
- destinationMatrices
- MPSMatrix[]
- destinationOffsets
-
IntPtr
nativeint
- trainingStates
- NSMutableArray<MPSRnnMatrixTrainingState>
- recurrentInputState
- MPSRnnRecurrentMatrixState
- recurrentOutputStates
- NSMutableArray<MPSRnnRecurrentMatrixState>
- weights
- MPSMatrix[]
- Attributes