Share via


IMPSCnnBatchNormalizationDataSource.UpdateMeanAndVariance Method

Definition

Overloads

UpdateMeanAndVariance(MPSCnnBatchNormalizationState)

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

Parameters

batchNormalizationState
MPSCnnBatchNormalizationState

Returns

Attributes

Applies to

UpdateMeanAndVariance(IMTLCommandBuffer, MPSCnnBatchNormalizationState)

[Foundation.Export("updateMeanAndVarianceWithCommandBuffer:batchNormalizationState:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSCnnNormalizationMeanAndVarianceState? UpdateMeanAndVariance(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState);
[<Foundation.Export("updateMeanAndVarianceWithCommandBuffer:batchNormalizationState:")>]
[<Foundation.OptionalMember>]
[<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

Attributes

Applies to