1 write to Host
Microsoft.ML.Sweeper (1)
ConfigRunner.cs (1)
69
Host
= env.Register(registrationName);
10 references to Host
Microsoft.ML.Sweeper (10)
ConfigRunner.cs (8)
70
Host
.CheckUserArg(!string.IsNullOrEmpty(options.OptionsPattern), nameof(options.OptionsPattern), "The command pattern is missing");
71
Host
.CheckUserArg(!string.IsNullOrEmpty(options.OutputFolderName), nameof(options.OutputFolderName), "Please specify an output folder");
75
ResultProcessor = options.ResultProcessor.CreateComponent(
Host
);
85
throw
Host
.ExceptUserArg(nameof(OptionsBase.Exe), "Executable {0} not found", Exe);
109
using (var ch =
Host
.Start("Finish"))
111
using (AssemblyLoadingUtils.CreateAssemblyRegistrar(
Host
, currentDirectory))
144
throw
Host
.Except(e, e.Message);
164
using (var ch =
Host
.Start("Evaluate"))
SynthConfigRunner.cs (2)
36
Host
.CheckUserArg(options.NumThreads == null || options.NumThreads.Value > 0, nameof(options.NumThreads), "Must be positive");
38
Host
.AssertNonEmpty(options.OutputFolderName);