共用方式為


MPSMatrixBatchNormalizationGradient.Encode 方法

定義

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

參數

commandBuffer
IMTLCommandBuffer
gradientMatrix
MPSMatrix
inputMatrix
MPSMatrix
meanVector
MPSVector
varianceVector
MPSVector
gammaVector
MPSVector
betaVector
MPSVector
resultGradientForDataMatrix
MPSMatrix
resultGradientForGammaVector
MPSVector
resultGradientForBetaVector
MPSVector
屬性

適用於