共用方式為


MPSMatrixSoftMaxGradient.EncodeToCommandBuffer 方法

定義

[Foundation.Export("encodeToCommandBuffer:gradientMatrix:forwardOutputMatrix:resultMatrix:")]
public virtual void EncodeToCommandBuffer (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSMatrix gradientMatrix, MetalPerformanceShaders.MPSMatrix forwardOutputMatrix, MetalPerformanceShaders.MPSMatrix resultMatrix);
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSMatrix -> unit
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSMatrix -> unit

參數

commandBuffer
IMTLCommandBuffer
gradientMatrix
MPSMatrix
forwardOutputMatrix
MPSMatrix
resultMatrix
MPSMatrix
屬性

適用於