1 write to FpModel
Microsoft.ML.Core (1)
Data\ModelHeader.cs (1)
117
header.
FpModel
= ModelHeader.Size;
17 references to FpModel
Microsoft.ML.Core (17)
Data\ModelHeader.cs (11)
228
Contracts.Check(header.
FpModel
== ModelHeader.Size);
232
Contracts.Check(fpCur - fpMin >= header.
FpModel
);
235
header.CbModel = fpCur - header.
FpModel
- fpMin;
333
reader.Seek(header.
FpModel
+ fpMin);
342
Contracts.CheckDecode(header.
FpModel
+ header.CbModel == reader.FpCur() - fpMin);
398
Contracts.CheckDecode(header.
FpModel
== Size);
399
Contracts.CheckDecode(header.
FpModel
+ header.CbModel >= header.
FpModel
);
409
Contracts.CheckDecode(header.FpTail == header.
FpModel
+ header.CbModel);
415
Contracts.CheckDecode(header.FpStringTable == header.
FpModel
+ header.CbModel);
439
Contracts.CheckDecode(header.FpAssemblyName == header.
FpModel
+ header.CbModel);
Data\ModelLoadContext.cs (2)
116
_ectx.Check(Reader.BaseStream.Position == FpMin + Header.
FpModel
);
121
_ectx.Check(Reader.BaseStream.Position == FpMin + Header.
FpModel
);
Data\ModelLoading.cs (3)
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
);
Data\ModelSaveContext.cs (1)
139
_ectx.Check(Writer.BaseStream.Position == FpMin + Header.
FpModel
);