共用方式為


MPSMatrixNeuronGradient.Encode 方法

定義

[Foundation.Export("encodeToCommandBuffer:gradientMatrix:inputMatrix:biasVector:resultGradientForDataMatrix:resultGradientForBiasVector:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSMatrix gradientMatrix, MetalPerformanceShaders.MPSMatrix inputMatrix, MetalPerformanceShaders.MPSVector biasVector, MetalPerformanceShaders.MPSMatrix resultGradientForDataMatrix, MetalPerformanceShaders.MPSVector resultGradientForBiasVector);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSVector -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSVector -> unit

參數

commandBuffer
IMTLCommandBuffer
gradientMatrix
MPSMatrix
inputMatrix
MPSMatrix
biasVector
MPSVector
resultGradientForDataMatrix
MPSMatrix
resultGradientForBiasVector
MPSVector
屬性

適用於