2 writes to _host
Microsoft.ML.Parquet (2)
PartitionedFileLoader.cs (2)
177_host = env.Register(RegistrationName); 213_host = host;
20 references to _host
Microsoft.ML.Parquet (20)
PartitionedFileLoader.cs (20)
178_host.CheckValue(args, nameof(args)); 179_host.CheckValue(args.Loader, nameof(args.Loader)); 180_host.CheckValue(files, nameof(files)); 182_pathParser = args.PathParserFactory.CreateComponent(_host); 183_host.CheckUserArg(_pathParser != null, nameof(args.PathParserFactory), "Failed to create the FilePathSpec."); 187var subLoader = args.Loader.CreateComponent(_host, _files); 207Schema = CreateSchema(_host, columns, subLoader); 214_host.AssertValue(ctx); 215_host.AssertValue(files); 229throw _host.ExceptDecode(); 232loader = new BinaryLoader(_host, new BinaryLoader.Arguments(), strm); 238ctx.LoadModel<IPartitionedPathParser, SignatureLoadModel>(_host, out _pathParser, FilePathSpecCtxName); 272var noRows = new EmptyDataView(_host, Schema); 275var saver = new BinarySaver(_host, saverArgs); 299return new Cursor(_host, this, _files, columnsNeeded, rand); 304var cursor = new Cursor(_host, this, _files, columnsNeeded, rand); 348LoaderUtils.SaveLoader(loader, stream, _host); 359using (var rep = RepositoryReader.Open(stream, _host)) 361return ModelFileUtils.LoadLoader(_host, rep, files, false); 753_host.CheckNonEmpty(path, nameof(path));