MPSRnnMatrixTrainingLayer.EncodeGradientSequence 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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);
abstract member EncodeGradientSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSRnnMatrixTrainingState[] * MetalPerformanceShaders.MPSMatrix[] -> unit
override this.EncodeGradientSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSRnnMatrixTrainingState[] * MetalPerformanceShaders.MPSMatrix[] -> unit
매개 변수
- commandBuffer
- IMTLCommandBuffer
- forwardSources
- MPSMatrix[]
- sourceGradients
- MPSMatrix[]
- destinationGradients
- MPSMatrix[]
- weightGradients
- MPSMatrix[]
- trainingStates
- MPSRnnMatrixTrainingState[]
- weights
- MPSMatrix[]
- 특성
적용 대상
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);
abstract member EncodeGradientSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSRnnMatrixTrainingState[] * MetalPerformanceShaders.MPSRnnRecurrentMatrixState * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> * MetalPerformanceShaders.MPSMatrix[] -> unit
override this.EncodeGradientSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSRnnMatrixTrainingState[] * MetalPerformanceShaders.MPSRnnRecurrentMatrixState * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> * MetalPerformanceShaders.MPSMatrix[] -> unit
매개 변수
- commandBuffer
- IMTLCommandBuffer
- forwardSources
- MPSMatrix[]
- forwardSourceOffsets
-
IntPtr
nativeint
- sourceGradients
- MPSMatrix[]
- sourceGradientOffsets
-
IntPtr
nativeint
- destinationGradients
- MPSMatrix[]
- destinationOffsets
-
IntPtr
nativeint
- weightGradients
- MPSMatrix[]
- trainingStates
- MPSRnnMatrixTrainingState[]
- recurrentInputState
- MPSRnnRecurrentMatrixState
- recurrentOutputStates
- NSMutableArray<MPSRnnRecurrentMatrixState>
- weights
- MPSMatrix[]
- 특성