1 write to EnforceNonNegativity
Microsoft.ML.StandardTrainers (1)
Optimizer\Optimizer.cs (1)
73EnforceNonNegativity = enforceNonNegativity;
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);
Optimizer\Optimizer.cs (1)
95return new FunctionOptimizerState(ch, progress, function, in initial, M, TotalMemoryLimit, KeepDense, EnforceNonNegativity);