19 references to InputModelFile
Microsoft.ML.Data (19)
Commands\CrossValidationCommand.cs (1)
150
if (ImplOptions.ContinueTrain && !TrainUtils.TryLoadPredictor(ch, Host, ImplOptions.
InputModelFile
, out inputPredictor))
Commands\DataCommand.cs (9)
255
using (var file = Host.OpenInputFile(ImplOptions.
InputModelFile
))
279
Host.CheckUserArg(!string.IsNullOrWhiteSpace(ImplOptions.
InputModelFile
), nameof(ImplOptions.
InputModelFile
));
339
if (!string.IsNullOrWhiteSpace(ImplOptions.
InputModelFile
) && ImplOptions.Loader == null)
342
using (var file = Host.OpenInputFile(ImplOptions.
InputModelFile
))
374
Host.CheckUserArg(!string.IsNullOrWhiteSpace(ImplOptions.
InputModelFile
), nameof(ImplOptions.
InputModelFile
));
383
Host.Assert(!string.IsNullOrWhiteSpace(ImplOptions.
InputModelFile
));
385
using (var file = Host.OpenInputFile(ImplOptions.
InputModelFile
))
Commands\ScoreCommand.cs (2)
85
Host.CheckUserArg(!string.IsNullOrWhiteSpace(ImplOptions.
InputModelFile
), nameof(ImplOptions.
InputModelFile
), "The input model file is required.");
Commands\TestCommand.cs (2)
66
Host.CheckUserArg(!string.IsNullOrEmpty(ImplOptions.
InputModelFile
), nameof(ImplOptions.
InputModelFile
), "The input model file is required.");
Commands\TrainCommand.cs (2)
145
if (ImplOptions.ContinueTrain && !TrainUtils.TryLoadPredictor(ch, Host, ImplOptions.
InputModelFile
, out inputPredictor))
275
ch.Warning("Ignoring " + nameof(TrainCommand.Arguments.
InputModelFile
) +
Commands\TrainTestCommand.cs (1)
128
if (ImplOptions.ContinueTrain && !TrainUtils.TryLoadPredictor(ch, Host, ImplOptions.
InputModelFile
, out inputPredictor))
Model\Pfa\SavePfaCommand.cs (2)
127
if (string.IsNullOrEmpty(ImplOptions.
InputModelFile
))
133
"Cannot be set to true unless " + nameof(ImplOptions.
InputModelFile
) + " is also specified.");