MPSMatrixBatchNormalizationGradient.Encode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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