Edytuj

Udostępnij za pośrednictwem


MPSMatrixBatchNormalizationGradient.Encode Method

Definition

[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

Parameters

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

Applies to