MPSRnnMatrixTrainingLayer.EncodeForwardSequence 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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[]
- trainingStates
- NSMutableArray<MPSRnnMatrixTrainingState>
- 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
- trainingStates
- NSMutableArray<MPSRnnMatrixTrainingState>
- recurrentInputState
- MPSRnnRecurrentMatrixState
- recurrentOutputStates
- NSMutableArray<MPSRnnRecurrentMatrixState>
- weights
- MPSMatrix[]
- 屬性