共用方式為


MPSRnnMatrixTrainingLayer.EncodeForwardSequence 方法

定義

多載

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

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

參數

commandBuffer
IMTLCommandBuffer
sourceMatrices
MPSMatrix[]
destinationMatrices
MPSMatrix[]
weights
MPSMatrix[]
屬性

適用於

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

參數

commandBuffer
IMTLCommandBuffer
sourceMatrices
MPSMatrix[]
sourceOffsets
IntPtr

nativeint

destinationMatrices
MPSMatrix[]
destinationOffsets
IntPtr

nativeint

recurrentInputState
MPSRnnRecurrentMatrixState
weights
MPSMatrix[]
屬性

適用於