15 instantiations of BinaryLoader
Microsoft.ML.Data (15)
Commands\DataCommand.cs (1)
362
isBinary ? 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)
901
r => retVal = new
BinaryLoader
(h, ctx, HybridMemoryStream.CreateCache(r.BaseStream))))
911
return new
BinaryLoader
(h, ctx, OpenStream(files));
923
return new
BinaryLoader
(h, ctx, HybridMemoryStream.CreateCache(stream));
2138
using (var loader = new
BinaryLoader
(host, args, data))
DataLoadSave\Binary\BinaryLoaderSaverCatalog.cs (2)
30
var loader = new
BinaryLoader
(env, new BinaryLoader.Arguments(), fileSource);
57
var loader = new
BinaryLoader
(env, new BinaryLoader.Arguments(), path);
DataLoadSave\Transpose\TransposeLoader.cs (1)
503
r => schemaView = new
BinaryLoader
(h, new BinaryLoader.Arguments(),
Model\ModelOperationsCatalog.cs (1)
161
var loader = new
BinaryLoader
(_env, new BinaryLoader.Arguments(), entry.Stream);
Scorers\PredictionTransformer.cs (1)
130
var loader = new
BinaryLoader
(host, new BinaryLoader.Arguments(), ms);
Transforms\ValueMapping.cs (2)
623
loader = new
BinaryLoader
(env, new BinaryLoader.Arguments(), fileSource);
1020
return new
BinaryLoader
(env, new BinaryLoader.Arguments(), strm);
Transforms\ValueToKeyMappingTransformer.cs (1)
421
keyData = new
BinaryLoader
(env, new BinaryLoader.Arguments(), fileSource);
Utilities\ModelFileUtils.cs (1)
73
var loader = new
BinaryLoader
(env, new BinaryLoader.Arguments(), entry.Stream);
60 references to BinaryLoader
Microsoft.ML.Data (60)
Commands\DataCommand.cs (1)
362
isBinary ? 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)
404
saveAction = ctx =>
BinaryLoader
.SaveInstance(env, ctx, pipeStart.Schema);
498
bool 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),
26
BinaryLoader
.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")]
110
private readonly
BinaryLoader
_parent;
139
public TableOfContentsEntry(
BinaryLoader
parent, int index, string name, IValueCodec codec,
175
public TableOfContentsEntry(
BinaryLoader
parent, string name, DataViewType type, Delegate valueMapper)
471
protected readonly
BinaryLoader
Parent;
480
protected MetadataTableOfContentsEntry(
BinaryLoader
parent, string kind,
496
public static MetadataTableOfContentsEntry Create(
BinaryLoader
parent, string kind, IValueCodec codec,
525
public static MetadataTableOfContentsEntry CreateDead(
BinaryLoader
parent, string kind, IValueCodec codec,
543
public ImplDead(
BinaryLoader
parent, string kind, IValueCodec codec,
555
public ImplOne(
BinaryLoader
parent, string kind, IValueCodec<T> codec,
571
public ImplVec(
BinaryLoader
parent, string kind, IValueCodec<VBuffer<T>> codec,
594
protected 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"/>
760
loaderAssemblyName: typeof(
BinaryLoader
).Assembly.FullName);
883
private static
BinaryLoader
Create(IHostEnvironment env, ModelLoadContext ctx, IMultiStreamSource files)
896
BinaryLoader
retVal = null;
919
private static
BinaryLoader
Create(IHostEnvironment env, ModelLoadContext ctx, Stream stream)
1219
private readonly
BinaryLoader
_parent;
1246
public Cursor(
BinaryLoader
parent, IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand)
2136
var args = new
BinaryLoader
.Arguments();
2138
using (
var
loader = new BinaryLoader(host, args, data))
2145
private void RunCore(IChannel ch,
BinaryLoader
loader)
DataLoadSave\Binary\BinaryLoaderSaverCatalog.cs (4)
30
var
loader = new BinaryLoader(env, new
BinaryLoader
.Arguments(), fileSource);
57
var
loader = new BinaryLoader(env, new
BinaryLoader
.Arguments(), path);
DataLoadSave\Transpose\TransposeLoader.cs (4)
185
var binArgs = new
BinaryLoader
.Arguments();
188
BinaryLoader
loader = new BinaryLoader(Host,
498
BinaryLoader
schemaView = null;
503
r => schemaView = new BinaryLoader(h, new
BinaryLoader
.Arguments(),
DataView\Transposer.cs (2)
37
private readonly
BinaryLoader
_splitView;
180
var loaderArgs = new
BinaryLoader
.Arguments();
EntryPoints\InputBase.cs (1)
103
if (!(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)
161
var
loader = new BinaryLoader(_env, new
BinaryLoader
.Arguments(), entry.Stream);
Scorers\PredictionTransformer.cs (2)
130
var
loader = new BinaryLoader(host, new
BinaryLoader
.Arguments(), ms);
Transforms\ValueMapping.cs (4)
623
loader = new BinaryLoader(env, new
BinaryLoader
.Arguments(), fileSource);
740
var
binaryLoader = GetLoader(env, rgb);
1014
private static
BinaryLoader
GetLoader(IHostEnvironment env, byte[] bytes)
1020
return new BinaryLoader(env, new
BinaryLoader
.Arguments(), strm);
Transforms\ValueToKeyMappingTransformer.cs (1)
421
keyData = new BinaryLoader(env, new
BinaryLoader
.Arguments(), fileSource);
Utilities\ModelFileUtils.cs (2)
73
var
loader = new BinaryLoader(env, new
BinaryLoader
.Arguments(), entry.Stream);