Share via


MPSRnnMatrixInferenceLayer.EncodeBidirectionalSequence Method

Definition

[Foundation.Export("encodeBidirectionalSequenceToCommandBuffer:sourceSequence:destinationForwardMatrices:destinationBackwardMatrices:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EncodeBidirectionalSequence(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSMatrix[] sourceSequence, MetalPerformanceShaders.MPSMatrix[] destinationForwardMatrices, MetalPerformanceShaders.MPSMatrix[]? destinationBackwardMatrices);
[<Foundation.Export("encodeBidirectionalSequenceToCommandBuffer:sourceSequence:destinationForwardMatrices:destinationBackwardMatrices:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EncodeBidirectionalSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] -> unit
override this.EncodeBidirectionalSequence : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix[] -> unit

Parameters

commandBuffer
IMTLCommandBuffer
sourceSequence
MPSMatrix[]
destinationForwardMatrices
MPSMatrix[]
destinationBackwardMatrices
MPSMatrix[]

To be added.

This parameter can be null.

Attributes

Applies to