共用方式為


ImageModelSettings.WeightDecay Property

Definition

Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1].

public float? WeightDecay { get; set; }
member this.WeightDecay : Nullable<single> with get, set
Public Property WeightDecay As Nullable(Of Single)

Property Value

Applies to