1 write to _host
Microsoft.ML.Data (1)
Commands\SavePredictorCommand.cs (1)
61_host = env.Register("SavePredictorCommand");
5 references to _host
Microsoft.ML.Data (5)
Commands\SavePredictorCommand.cs (5)
62_host.CheckValue(args, nameof(args)); 63_host.CheckUserArg(!string.IsNullOrWhiteSpace(args.InputModelFile), nameof(args.InputModelFile), "Must specify input model file"); 81using (var file = _host.OpenInputFile(_args.InputModelFile)) 93SavePredictorUtils.SavePredictor(_host, strm, binStrm, sumStrm, txtStrm, iniStrm, codStrm); 103return _host.CreateOutputFile(path);