15 instantiations of BinaryLoader
Microsoft.ML.Data (15)
Commands\DataCommand.cs (1)
362isBinary ? new BinaryLoader(Host, new BinaryLoader.Arguments(), fileSource) :
Commands\EvaluateCommand.cs (1)
226(env, source) => new IO.BinaryLoader(env, new IO.BinaryLoader.Arguments(), source));
DataLoadSave\Binary\BinaryLoader.cs (4)
901r => retVal = new BinaryLoader(h, ctx, HybridMemoryStream.CreateCache(r.BaseStream)))) 911return new BinaryLoader(h, ctx, OpenStream(files)); 923return new BinaryLoader(h, ctx, HybridMemoryStream.CreateCache(stream)); 2138using (var loader = new BinaryLoader(host, args, data))
DataLoadSave\Binary\BinaryLoaderSaverCatalog.cs (2)
30var loader = new BinaryLoader(env, new BinaryLoader.Arguments(), fileSource); 57var loader = new BinaryLoader(env, new BinaryLoader.Arguments(), path);
DataLoadSave\Transpose\TransposeLoader.cs (1)
503r => schemaView = new BinaryLoader(h, new BinaryLoader.Arguments(),
Model\ModelOperationsCatalog.cs (1)
161var loader = new BinaryLoader(_env, new BinaryLoader.Arguments(), entry.Stream);
Scorers\PredictionTransformer.cs (1)
130var loader = new BinaryLoader(host, new BinaryLoader.Arguments(), ms);
Transforms\ValueMapping.cs (2)
623loader = new BinaryLoader(env, new BinaryLoader.Arguments(), fileSource); 1020return new BinaryLoader(env, new BinaryLoader.Arguments(), strm);
Transforms\ValueToKeyMappingTransformer.cs (1)
421keyData = new BinaryLoader(env, new BinaryLoader.Arguments(), fileSource);
Utilities\ModelFileUtils.cs (1)
73var loader = new BinaryLoader(env, new BinaryLoader.Arguments(), entry.Stream);
60 references to BinaryLoader
Microsoft.ML.Data (60)
Commands\DataCommand.cs (1)
362isBinary ? new BinaryLoader(Host, new BinaryLoader.Arguments(), fileSource) :
Commands\EvaluateCommand.cs (1)
226(env, source) => new IO.BinaryLoader(env, new IO.BinaryLoader.Arguments(), source));
Commands\TrainCommand.cs (2)
404saveAction = ctx => BinaryLoader.SaveInstance(env, ctx, pipeStart.Schema); 498bool shouldCache = cacheData ?? !(data.Data is BinaryLoader) && trainer.Info.WantCaching;
DataLoadSave\Binary\BinaryLoader.cs (32)
24[assembly: LoadableClass(BinaryLoader.Summary, typeof(BinaryLoader), typeof(BinaryLoader.Arguments), typeof(SignatureDataLoader), 26BinaryLoader.LoadName, 30[assembly: LoadableClass(BinaryLoader.Summary, typeof(BinaryLoader), null, typeof(SignatureLoadDataLoader), 31"Binary Data View Loader", BinaryLoader.LoaderSignature)] 33[assembly: LoadableClass(typeof(BinaryLoader.InfoCommand), typeof(BinaryLoader.InfoCommand.Arguments), typeof(SignatureCommand), 34"", BinaryLoader.InfoCommand.LoadName, "idv")] 110private readonly BinaryLoader _parent; 139public TableOfContentsEntry(BinaryLoader parent, int index, string name, IValueCodec codec, 175public TableOfContentsEntry(BinaryLoader parent, string name, DataViewType type, Delegate valueMapper) 471protected readonly BinaryLoader Parent; 480protected MetadataTableOfContentsEntry(BinaryLoader parent, string kind, 496public static MetadataTableOfContentsEntry Create(BinaryLoader parent, string kind, IValueCodec codec, 525public static MetadataTableOfContentsEntry CreateDead(BinaryLoader parent, string kind, IValueCodec codec, 543public ImplDead(BinaryLoader parent, string kind, IValueCodec codec, 555public ImplOne(BinaryLoader parent, string kind, IValueCodec<T> codec, 571public ImplVec(BinaryLoader parent, string kind, IValueCodec<VBuffer<T>> codec, 594protected MetadataTableOfContentsEntry(BinaryLoader parent, string kind, IValueCodec<T> codec, 634/// This function returns output schema, <see cref="Schema"/>, of <see cref="BinaryLoader"/> by translating <see cref="_aliveColumns"/> into 635/// <see cref="DataViewSchema.Column"/>s. If a <see cref="BinaryLoader"/> loads a text column from the input file, its <see cref="Schema"/> 760loaderAssemblyName: typeof(BinaryLoader).Assembly.FullName); 883private static BinaryLoader Create(IHostEnvironment env, ModelLoadContext ctx, IMultiStreamSource files) 896BinaryLoader retVal = null; 919private static BinaryLoader Create(IHostEnvironment env, ModelLoadContext ctx, Stream stream) 1219private readonly BinaryLoader _parent; 1246public Cursor(BinaryLoader parent, IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand) 2136var args = new BinaryLoader.Arguments(); 2138using (var loader = new BinaryLoader(host, args, data)) 2145private void RunCore(IChannel ch, BinaryLoader loader)
DataLoadSave\Binary\BinaryLoaderSaverCatalog.cs (4)
30var loader = new BinaryLoader(env, new BinaryLoader.Arguments(), fileSource); 57var loader = new BinaryLoader(env, new BinaryLoader.Arguments(), path);
DataLoadSave\Transpose\TransposeLoader.cs (4)
185var binArgs = new BinaryLoader.Arguments(); 188BinaryLoader loader = new BinaryLoader(Host, 498BinaryLoader schemaView = null; 503r => schemaView = new BinaryLoader(h, new BinaryLoader.Arguments(),
DataView\Transposer.cs (2)
37private readonly BinaryLoader _splitView; 180var loaderArgs = new BinaryLoader.Arguments();
EntryPoints\InputBase.cs (1)
103if (!(input.TrainingData is BinaryLoader) && trainer.Info.WantCaching)
EntryPoints\TransformModelImpl.cs (2)
31/// an empty <see cref="IDataView"/> or a <see cref="BinaryLoader"/> with no rows. However, other root 33/// from a zip file. However, whenever we save, we force a <see cref="BinaryLoader"/> to
Model\ModelOperationsCatalog.cs (2)
161var loader = new BinaryLoader(_env, new BinaryLoader.Arguments(), entry.Stream);
Scorers\PredictionTransformer.cs (2)
130var loader = new BinaryLoader(host, new BinaryLoader.Arguments(), ms);
Transforms\ValueMapping.cs (4)
623loader = new BinaryLoader(env, new BinaryLoader.Arguments(), fileSource); 740var binaryLoader = GetLoader(env, rgb); 1014private static BinaryLoader GetLoader(IHostEnvironment env, byte[] bytes) 1020return new BinaryLoader(env, new BinaryLoader.Arguments(), strm);
Transforms\ValueToKeyMappingTransformer.cs (1)
421keyData = new BinaryLoader(env, new BinaryLoader.Arguments(), fileSource);
Utilities\ModelFileUtils.cs (2)
73var loader = new BinaryLoader(env, new BinaryLoader.Arguments(), entry.Stream);