1 write to EnforceNonNegativity
Microsoft.ML.StandardTrainers (1)
4 references to EnforceNonNegativity
Microsoft.ML.StandardTrainers (4)
Optimizer\L1Optimizer.cs (3)
49if (EnforceNonNegativity)
59return new L1OptimizerState(ch, progress, function, in initial, M, TotalMemoryLimit, _biasCount, _l1weight, KeepDense, EnforceNonNegativity);
60return new FunctionOptimizerState(ch, progress, function, in initial, M, TotalMemoryLimit, KeepDense, EnforceNonNegativity);