1 instantiation of Entry
Microsoft.ML.Core (1)
Data\Repository.cs (1)
277
var ent = new
Entry
(this, pathEnt, stream);
42 references to Entry
Microsoft.ML.Core (29)
Data\ModelLoadContext.cs (1)
76
internal ModelLoadContext(RepositoryReader rep, Repository.
Entry
ent, string dir)
Data\ModelLoading.cs (7)
61
var
ent = Repository.OpenEntryOrNull(dir, ModelStreamName);
87
var
ent = rep.OpenEntryOrNull(dir, ModelStreamName);
155
private static bool TryLoadModel<TRes, TSig>(IHostEnvironment env, out TRes result, RepositoryReader rep, Repository.
Entry
ent, string dir, params object[] extra)
177
public static void LoadModel<TRes, TSig>(IHostEnvironment env, out TRes result, RepositoryReader rep, Repository.
Entry
ent, string dir, params object[] extra)
309
var
ent = Repository.OpenEntryOrNull(path, ModelStreamName);
332
var
ent = Repository.OpenEntryOrNull(Directory, name);
353
var
ent = Repository.OpenEntryOrNull(Directory, name);
Data\ModelSaveContext.cs (3)
64
private readonly Repository.
Entry
_ent;
163
using (
var
ent = Repository.CreateEntry(Directory, name))
179
using (
var
ent = Repository.CreateEntry(Directory, name))
Data\ModelSaving.cs (1)
49
using (
var
ent = rep.CreateEntry(path, ModelLoadContext.NameBinary))
Data\Repository.cs (17)
82
private readonly List<
Entry
> _open;
114
_open = new List<
Entry
>();
185
var
ent = _open[_open.Count - 1];
194
protected void RemoveEntry(
Entry
ent)
212
protected abstract void OnDispose(
Entry
ent);
272
protected
Entry
AddEntry(string pathEnt, Stream stream)
277
var
ent = new Entry(this, pathEnt, stream);
297
using (
var
ent = rep.CreateEntry(DirTrainingInfo, "Version.txt"))
310
public
Entry
CreateEntry(string name)
315
public
Entry
CreateEntry(string dir, string name)
338
protected override void OnDispose(
Entry
ent)
477
public
Entry
OpenEntry(string name)
482
public
Entry
OpenEntry(string dir, string name)
484
var
ent = OpenEntryOrNull(dir, name);
494
public
Entry
OpenEntryOrNull(string name)
499
public
Entry
OpenEntryOrNull(string dir, string name)
551
protected override void OnDispose(
Entry
ent)
Microsoft.ML.Data (11)
Commands\DataCommand.cs (1)
388
using (
var
pipeLoaderEntry = rep.OpenEntry(ModelFileUtils.DirDataLoaderModel, ModelLoadContext.ModelStreamName))
Commands\TrainCommand.cs (1)
373
using (
var
ent = rep.CreateEntry(ModelFileUtils.DirTrainingInfo, "Command.txt"))
Model\ModelOperationsCatalog.cs (2)
132
var
entry = rep.CreateEntry(SchemaEntryName);
158
var
entry = rep.OpenEntryOrNull(SchemaEntryName);
Utilities\ModelFileUtils.cs (7)
70
var
entry = rep.OpenEntryOrNull(SchemaEntryName);
78
using (
var
ent = rep.OpenEntry(DirDataLoaderModel, ModelLoadContext.ModelStreamName))
131
using (
var
ent = rep.OpenEntryOrNull(DirDataLoaderModel, ModelLoadContext.ModelStreamName))
212
using (
var
ent = rep.OpenEntryOrNull(ModelFileUtils.DirTrainingInfo, "FeatureNames.bin"))
253
using (
var
entry = rep.CreateEntry(DirTrainingInfo, RoleMappingFile))
289
var
entry = rep.OpenEntryOrNull(DirTrainingInfo, RoleMappingFile);
386
var
ent = _repository.OpenEntryOrNull(_directory, _filename);
Microsoft.ML.ResultProcessor (1)
ResultProcessor.cs (1)
470
var
ent = rep.OpenEntryOrNull(ModelFileUtils.DirTrainingInfo, "Command.txt");
Microsoft.ML.Transforms (1)
LoadTransform.cs (1)
101
using (
var
pipeLoaderEntry = rep.OpenEntry(ModelFileUtils.DirDataLoaderModel, ModelLoadContext.ModelStreamName))