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.");
187
var subLoader = args.Loader.CreateComponent(
_host
, _files);
207
Schema = CreateSchema(
_host
, columns, subLoader);
214
_host
.AssertValue(ctx);
215
_host
.AssertValue(files);
229
throw
_host
.ExceptDecode();
232
loader = new BinaryLoader(
_host
, new BinaryLoader.Arguments(), strm);
238
ctx.LoadModel<IPartitionedPathParser, SignatureLoadModel>(
_host
, out _pathParser, FilePathSpecCtxName);
272
var noRows = new EmptyDataView(
_host
, Schema);
275
var saver = new BinarySaver(
_host
, saverArgs);
299
return new Cursor(
_host
, this, _files, columnsNeeded, rand);
304
var cursor = new Cursor(
_host
, this, _files, columnsNeeded, rand);
348
LoaderUtils.SaveLoader(loader, stream,
_host
);
359
using (var rep = RepositoryReader.Open(stream,
_host
))
361
return ModelFileUtils.LoadLoader(
_host
, rep, files, false);
753
_host
.CheckNonEmpty(path, nameof(path));