3 references to UserErrorNonNegative
Microsoft.ML.StandardTrainers (3)
Standard\Online\AveragedLinear.cs (2)
314Contracts.CheckUserArg(options.RecencyGain >= 0, nameof(options.RecencyGain), UserErrorNonNegative); 315Contracts.CheckUserArg(options.AveragedTolerance >= 0, nameof(options.AveragedTolerance), UserErrorNonNegative);
Standard\Online\OnlineLinear.cs (1)
266Contracts.CheckUserArg(options.InitialWeightsDiameter >= 0, nameof(options.InitialWeightsDiameter), UserErrorNonNegative);