1 write to _host
Microsoft.ML.Sweeper (1)
9 references to _host
Microsoft.ML.Sweeper (9)
SweepCommand.cs (9)
67_host.CheckValue(args.Runner, nameof(args.Runner), "Please specify a runner");
68_host.CheckValue(args.Sweeper, nameof(args.Sweeper), "Please specify a sweeper");
69_host.CheckUserArg(args.SweepNumBatches > 0, nameof(args.SweepNumBatches), "Must be positive");
70_host.CheckUserArg(!(args.InitialSweepBatchSize <= 0), nameof(args.InitialSweepBatchSize), "Must be positive if specified");
71_host.CheckUserArg(args.SweepBatchSize > 0, nameof(args.SweepBatchSize), "Must be positive");
76_runner = args.Runner.CreateComponent(_host);
77_sweeper = args.Sweeper.CreateComponent(_host);
86using (var ch = _host.Start("Generating sweeps"))
106throw _host.Except(e, "Internal sweep training threw exception");