MPSRnnMatrixTrainingLayer.EncodeCopyWeights 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[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
参数
- commandBuffer
- IMTLCommandBuffer
- weights
- MPSMatrix[]
- matrixId
- MPSRnnMatrixId
- matrix
- MPSMatrix
- copyFromWeightsToMatrix
- Boolean
- matrixOffset
- MTLOrigin
- 属性