Share via


MPSCnnBatchNormalizationDataSource.UpdateGammaAndBeta 方法

定义

重载

UpdateGammaAndBeta(MPSCnnBatchNormalizationState)
UpdateGammaAndBeta(IMTLCommandBuffer, MPSCnnBatchNormalizationState)

UpdateGammaAndBeta(MPSCnnBatchNormalizationState)

[Foundation.Export("updateGammaAndBetaWithBatchNormalizationState:")]
public virtual bool UpdateGammaAndBeta (MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState);
abstract member UpdateGammaAndBeta : MetalPerformanceShaders.MPSCnnBatchNormalizationState -> bool
override this.UpdateGammaAndBeta : MetalPerformanceShaders.MPSCnnBatchNormalizationState -> bool

参数

batchNormalizationState
MPSCnnBatchNormalizationState

返回

属性

适用于

UpdateGammaAndBeta(IMTLCommandBuffer, MPSCnnBatchNormalizationState)

[Foundation.Export("updateGammaAndBetaWithCommandBuffer:batchNormalizationState:")]
public virtual MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState UpdateGammaAndBeta (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState);
abstract member UpdateGammaAndBeta : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState -> MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState
override this.UpdateGammaAndBeta : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState -> MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState

参数

commandBuffer
IMTLCommandBuffer
batchNormalizationState
MPSCnnBatchNormalizationState

返回

属性

适用于