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