6 references to TrainedModelFile
Microsoft.ML.FastTree (6)
TreeEnsembleFeaturizer.cs (6)
619host.CheckUserArg(!string.IsNullOrWhiteSpace(args.TrainedModelFile) || args.Trainer != null, nameof(args.TrainedModelFile), 633if (!string.IsNullOrWhiteSpace(args.TrainedModelFile)) 640using (Stream strm = new FileStream(args.TrainedModelFile, FileMode.Open, FileAccess.Read, FileShare.Read)) 654ch.CheckUserArg(vm != null, nameof(args.TrainedModelFile), "Predictor in model file does not have compatible type"); 657throw ch.ExceptUserArg(nameof(args.TrainedModelFile),