MPSMatrixBatchNormalizationGradient.Encode 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[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
- 属性