5 writes to Relaxation
Microsoft.ML.Sweeper.Tests (5)
TestSweeper.cs (5)
186args.Relaxation = 1; 236args.Relaxation = args.BatchSize - 1; 269args.Relaxation = args.Relaxation - 1; 307args.Relaxation = batchSize - 2; 359args.Relaxation = 0;
9 references to Relaxation
Microsoft.ML.Sweeper (7)
AsyncSweeper.cs (7)
198_host.CheckUserArg(options.Relaxation >= 0, nameof(options.Relaxation), "Synchronization relaxation must be non-negative"); 199_host.CheckUserArg(options.Relaxation <= options.BatchSize, nameof(options.Relaxation), 203_host.CheckUserArg(!(_baseSweeper is NelderMeadSweeper) || options.Relaxation == 0, nameof(options.Relaxation), 207_relaxation = options.Relaxation;
Microsoft.ML.Sweeper.Tests (2)
TestSweeper.cs (2)
208if (i < args.BatchSize - args.Relaxation) 269args.Relaxation = args.Relaxation - 1;