MPSRnnMatrixTrainingLayer.EncodeCopyWeights Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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