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");
81
using (var file =
_host
.OpenInputFile(_args.InputModelFile))
93
SavePredictorUtils.SavePredictor(
_host
, strm, binStrm, sumStrm, txtStrm, iniStrm, codStrm);
103
return
_host
.CreateOutputFile(path);