2 writes to Reader
Microsoft.ML.Core (2)
Data\ModelLoadContext.cs (2)
87
Reader
= new BinaryReader(ent.Stream, Encoding.UTF8, leaveOpen: true);
110
Reader
= reader;
14 references to Reader
Microsoft.ML.Core (14)
Data\ModelLoadContext.cs (10)
90
ModelHeader.BeginRead(out FpMin, out Header, out Strings, out LoaderAssemblyName,
Reader
);
94
Reader
.Dispose();
111
ModelHeader.BeginRead(out FpMin, out Header, out Strings, out LoaderAssemblyName,
Reader
);
116
_ectx.Check(
Reader
.BaseStream.Position == FpMin + Header.FpModel);
121
_ectx.Check(
Reader
.BaseStream.Position == FpMin + Header.FpModel);
139
int id =
Reader
.ReadInt32();
152
int id =
Reader
.ReadInt32();
163
int id =
Reader
.ReadInt32();
176
ModelHeader.EndRead(FpMin, ref Header,
Reader
);
187
Reader
.Dispose();
Data\ModelLoading.cs (4)
244
_ectx.Assert(
Reader
.BaseStream.Position == FpMin + Header.FpModel);
263
_ectx.Assert(
Reader
.BaseStream.Position == FpMin + Header.FpModel);
277
_ectx.Assert(
Reader
.BaseStream.Position == FpMin + Header.FpModel);
279
Reader
.BaseStream.Position = FpMin;