1 write to FpModel
Microsoft.ML.Core (1)
Data\ModelHeader.cs (1)
117header.FpModel = ModelHeader.Size;
17 references to FpModel
Microsoft.ML.Core (17)
Data\ModelHeader.cs (11)
228Contracts.Check(header.FpModel == ModelHeader.Size); 232Contracts.Check(fpCur - fpMin >= header.FpModel); 235header.CbModel = fpCur - header.FpModel - fpMin; 333reader.Seek(header.FpModel + fpMin); 342Contracts.CheckDecode(header.FpModel + header.CbModel == reader.FpCur() - fpMin); 398Contracts.CheckDecode(header.FpModel == Size); 399Contracts.CheckDecode(header.FpModel + header.CbModel >= header.FpModel); 409Contracts.CheckDecode(header.FpTail == header.FpModel + header.CbModel); 415Contracts.CheckDecode(header.FpStringTable == header.FpModel + header.CbModel); 439Contracts.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);