Share via


IImageModelSettings.GradientAccumulationStep Property

Definition

Gradient accumulation means running a configured number of "GradAccumulationStep" steps without updating the model weights while accumulating the gradients of those steps, and then using the accumulated gradients to compute the weight updates. Must be a positive integer.

[Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.Info(Description="Gradient accumulation means running a configured number of "GradAccumulationStep" steps without\r\n        updating the model weights while accumulating the gradients of those steps, and then using\r\n        the accumulated gradients to compute the weight updates. Must be a positive integer.", PossibleTypes=new System.Type[] { typeof(System.Int32) }, ReadOnly=false, Required=false, SerializedName="gradientAccumulationStep")]
public int? GradientAccumulationStep { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.Info(Description="Gradient accumulation means running a configured number of "GradAccumulationStep" steps without\r\n        updating the model weights while accumulating the gradients of those steps, and then using\r\n        the accumulated gradients to compute the weight updates. Must be a positive integer.", PossibleTypes=new System.Type[] { typeof(System.Int32) }, ReadOnly=false, Required=false, SerializedName="gradientAccumulationStep")>]
member this.GradientAccumulationStep : Nullable<int> with get, set
Public Property GradientAccumulationStep As Nullable(Of Integer)

Property Value

Attributes

Applies to