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