Editar

Compartir a través de


MPSRnnMatrixTrainingLayer.EncodeCopyWeights Method

Definition

[Foundation.Export("encodeCopyWeightsToCommandBuffer:weights:matrixId:matrix:copyFromWeightsToMatrix:matrixOffset:")]
public virtual void EncodeCopyWeights (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSMatrix[] weights, MetalPerformanceShaders.MPSRnnMatrixId matrixId, MetalPerformanceShaders.MPSMatrix matrix, bool copyFromWeightsToMatrix, Metal.MTLOrigin matrixOffset);
abstract member EncodeCopyWeights : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSRnnMatrixId * MetalPerformanceShaders.MPSMatrix * bool * Metal.MTLOrigin -> unit
override this.EncodeCopyWeights : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSRnnMatrixId * MetalPerformanceShaders.MPSMatrix * bool * Metal.MTLOrigin -> unit

Parameters

commandBuffer
IMTLCommandBuffer
weights
MPSMatrix[]
matrixId
MPSRnnMatrixId
matrix
MPSMatrix
copyFromWeightsToMatrix
Boolean
matrixOffset
MTLOrigin
Attributes

Applies to