2 writes to Repository
Microsoft.ML.Core (2)
Data\ModelSaveContext.cs (2)
88
Repository
= rep;
127
Repository
= null;
6 references to Repository
Microsoft.ML.Core (6)
Data\ModelSaveContext.cs (4)
80
internal bool InRepository =>
Repository
!= null;
163
using (var ent =
Repository
.CreateEntry(Directory, name))
179
using (var ent =
Repository
.CreateEntry(Directory, name))
235
/// mode, it disposes <see cref="Writer"/> (but not <see cref="
Repository
"/>).
Data\ModelSaving.cs (2)
22
SaveModel(
Repository
, value, Path.Combine(Directory ?? "", name));
84
using (var ctx = new ModelSaveContext(
Repository
, Path.Combine(Directory ?? "", dir), ModelLoadContext.ModelStreamName))