1 write to _host
Microsoft.ML.Sweeper (1)
AsyncSweeper.cs (1)
195_host = env.Register("DeterministicSweeperAsync", options.RandomSeed);
8 references to _host
Microsoft.ML.Sweeper (8)
AsyncSweeper.cs (8)
196_host.CheckValue(options.Sweeper, nameof(options.Sweeper), "Please specify a sweeper"); 197_host.CheckUserArg(options.BatchSize > 0, nameof(options.BatchSize), "Batch size must be positive"); 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), 202_baseSweeper = options.Sweeper.CreateComponent(_host); 203_host.CheckUserArg(!(_baseSweeper is NelderMeadSweeper) || options.Relaxation == 0, nameof(options.Relaxation), 219_host.Check(!_disposed, "Creating parameters while sweeper is disposed"); 244_host.Check(0 <= id && id < _results.Count, "Invalid index");