다음을 통해 공유


MPSRnnMatrixInferenceLayer.EncodeSequence 메서드

정의

오버로드

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

EncodeSequence(IMTLCommandBuffer, MPSMatrix[], MPSMatrix[], MPSRnnRecurrentMatrixState, NSMutableArray<MPSRnnRecurrentMatrixState>)

[Foundation.Export("encodeSequenceToCommandBuffer:sourceMatrices:destinationMatrices:recurrentInputState:recurrentOutputStates:")]
public virtual void EncodeSequence (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSMatrix[] sourceMatrices, MetalPerformanceShaders.MPSMatrix[] destinationMatrices, MetalPerformanceShaders.MPSRnnRecurrentMatrixState recurrentInputState, Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> recurrentOutputStates);
abstract member EncodeSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSRnnRecurrentMatrixState * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> -> unit
override this.EncodeSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSRnnRecurrentMatrixState * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> -> unit

매개 변수

commandBuffer
IMTLCommandBuffer
sourceMatrices
MPSMatrix[]
destinationMatrices
MPSMatrix[]
recurrentInputState
MPSRnnRecurrentMatrixState

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

recurrentOutputStates
NSMutableArray<MPSRnnRecurrentMatrixState>

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

특성

적용 대상

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

[Foundation.Export("encodeSequenceToCommandBuffer:sourceMatrices:sourceOffsets:destinationMatrices:destinationOffsets:recurrentInputState:recurrentOutputStates:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EncodeSequence (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSMatrix[] sourceMatrices, IntPtr sourceOffsets, MetalPerformanceShaders.MPSMatrix[] destinationMatrices, IntPtr destinationOffsets, MetalPerformanceShaders.MPSRnnRecurrentMatrixState recurrentInputState, Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> recurrentOutputStates);
abstract member EncodeSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSRnnRecurrentMatrixState * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> -> unit
override this.EncodeSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSMatrix[] * nativeint * MetalPerformanceShaders.MPSRnnRecurrentMatrixState * Foundation.NSMutableArray<MetalPerformanceShaders.MPSRnnRecurrentMatrixState> -> unit

매개 변수

commandBuffer
IMTLCommandBuffer
sourceMatrices
MPSMatrix[]
sourceOffsets
IntPtr

nativeint

destinationMatrices
MPSMatrix[]
destinationOffsets
IntPtr

nativeint

recurrentInputState
MPSRnnRecurrentMatrixState
특성

적용 대상