Share via


MPSCnnBatchNormalizationDataSource.UpdateMeanAndVariance Method

Definition

Overloads

UpdateMeanAndVariance(MPSCnnBatchNormalizationState)

[Foundation.Export("updateMeanAndVarianceWithBatchNormalizationState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool UpdateMeanAndVariance(MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState);
[<Foundation.Export("updateMeanAndVarianceWithBatchNormalizationState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member UpdateMeanAndVariance : MetalPerformanceShaders.MPSCnnBatchNormalizationState -> bool
override this.UpdateMeanAndVariance : MetalPerformanceShaders.MPSCnnBatchNormalizationState -> bool

Parameters

batchNormalizationState
MPSCnnBatchNormalizationState

Returns

Implements

Attributes

Applies to

UpdateMeanAndVariance(IMTLCommandBuffer, MPSCnnBatchNormalizationState)

[Foundation.Export("updateMeanAndVarianceWithCommandBuffer:batchNormalizationState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSCnnNormalizationMeanAndVarianceState? UpdateMeanAndVariance(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState);
[<Foundation.Export("updateMeanAndVarianceWithCommandBuffer:batchNormalizationState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member UpdateMeanAndVariance : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState -> MetalPerformanceShaders.MPSCnnNormalizationMeanAndVarianceState
override this.UpdateMeanAndVariance : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState -> MetalPerformanceShaders.MPSCnnNormalizationMeanAndVarianceState

Parameters

commandBuffer
IMTLCommandBuffer
batchNormalizationState
MPSCnnBatchNormalizationState

Returns

Implements

Attributes

Applies to