Поделиться через


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
Атрибуты

Применяется к