2 writes to Writer
Microsoft.ML.Core (2)
Data\ModelSaveContext.cs (2)
100
Writer
= new BinaryWriter(_ent.Stream, Encoding.UTF8, leaveOpen: true);
132
Writer
= writer;
13 references to Writer
Microsoft.ML.Core (13)
Data\ModelSaveContext.cs (13)
103
ModelHeader.BeginWrite(
Writer
, out FpMin, out Header);
107
Writer
.Dispose();
133
ModelHeader.BeginWrite(
Writer
, out FpMin, out Header);
139
_ectx.Check(
Writer
.BaseStream.Position == FpMin + Header.FpModel);
194
Writer
.Write(-1);
196
Writer
.Write(Strings.Add(str).Id);
207
Writer
.Write(Strings.Add(str).Id);
213
Writer
.Write(Strings.Add(str).Id);
224
Writer
.Write(Strings.Add(str).Id);
230
Writer
.Write(Strings.Add(str).Id);
235
/// mode, it disposes <see cref="
Writer
"/> (but not <see cref="Repository"/>).
241
ModelHeader.EndWrite(
Writer
, FpMin, ref Header, Strings, _loaderAssemblyName);
255
Writer
.Dispose();