Editar

Compartir a través de


MPSCnnBatchNormalizationDataSource.UpdateMeanAndVariance Method

Definition

Overloads

UpdateMeanAndVariance(MPSCnnBatchNormalizationState)
UpdateMeanAndVariance(IMTLCommandBuffer, MPSCnnBatchNormalizationState)

UpdateMeanAndVariance(MPSCnnBatchNormalizationState)

[Foundation.Export("updateMeanAndVarianceWithBatchNormalizationState:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool UpdateMeanAndVariance (MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState);
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:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual MetalPerformanceShaders.MPSCnnNormalizationMeanAndVarianceState UpdateMeanAndVariance (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState);
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