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
属性

适用于