5 writes to Relaxation
Microsoft.ML.Sweeper.Tests (5)
TestSweeper.cs (5)
186
args.
Relaxation
= 1;
236
args.
Relaxation
= args.BatchSize - 1;
269
args.
Relaxation
= args.Relaxation - 1;
307
args.
Relaxation
= batchSize - 2;
359
args.
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)
208
if (i < args.BatchSize - args.
Relaxation
)
269
args.Relaxation = args.
Relaxation
- 1;