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