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