21 references to OutputModelFile
Microsoft.ML.Data (15)
Commands\CrossValidationCommand.cs (2)
416
env.CheckValueOrNull(args.
OutputModelFile
);
436
_outputModelFile = args.
OutputModelFile
;
Commands\DataCommand.cs (4)
94
Utils.CheckOptionalUserDirectory(options.
OutputModelFile
, nameof(options.
OutputModelFile
));
218
if (!string.IsNullOrWhiteSpace(ImplOptions.
OutputModelFile
))
220
using (var file = Host.CreateOutputFile(ImplOptions.
OutputModelFile
))
Commands\ScoreCommand.cs (2)
132
if (!string.IsNullOrWhiteSpace(ImplOptions.
OutputModelFile
))
135
SaveLoader(loader, ImplOptions.
OutputModelFile
);
Commands\TrainCommand.cs (3)
100
Host.CheckNonWhiteSpace(args.
OutputModelFile
, nameof(args.
OutputModelFile
));
203
using (var file = Host.CreateOutputFile(ImplOptions.
OutputModelFile
))
Commands\TrainTestCommand.cs (2)
190
bool hasOutfile = !string.IsNullOrEmpty(ImplOptions.
OutputModelFile
);
193
using (var file = new SimpleFileHandle(ch, hasOutfile ? ImplOptions.
OutputModelFile
: tempFilePath, true, !hasOutfile))
Model\Pfa\SavePfaCommand.cs (2)
212
if (!string.IsNullOrWhiteSpace(ImplOptions.
OutputModelFile
))
216
SaveLoader(loader, ImplOptions.
OutputModelFile
);
Microsoft.ML.FastTree (4)
GamModelParameters.cs (4)
892
if (hadCalibrator && !string.IsNullOrWhiteSpace(ImplOptions.
OutputModelFile
))
938
sch?.Register("canSave", () => !string.IsNullOrEmpty(ImplOptions.
OutputModelFile
));
939
sch?.Register("save", () => context.SaveIfNeeded(Host, ch, ImplOptions.
OutputModelFile
));
942
var retVal = context.SaveIfNeeded(Host, ch, ImplOptions.
OutputModelFile
);
Microsoft.ML.OnnxConverter (2)
SaveOnnxCommand.cs (2)
415
if (!string.IsNullOrWhiteSpace(ImplOptions.
OutputModelFile
))
421
SaveLoader(loader, ImplOptions.
OutputModelFile
);