Editar

Compartilhar via


MPSMatrixFullyConnectedGradient.EncodeGradientForWeightsAndBias Method

Definition

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

Parameters

commandBuffer
IMTLCommandBuffer
gradientMatrix
MPSMatrix
inputMatrix
MPSMatrix
resultGradientForWeightMatrix
MPSMatrix
resultGradientForBiasVector
MPSVector
Attributes

Applies to