7 references to CheckDecode
Microsoft.ML.Core (7)
Data\ModelHeader.cs (7)
351
Contracts.
CheckDecode
(header.ModelSignature == ver.ModelSignature, "Unknown file type");
352
Contracts.
CheckDecode
(header.ModelVerReadable <= header.ModelVerWritten, "Corrupt file header");
392
Contracts.
CheckDecode
(header.Signature == SignatureValue, "Wrong file type");
393
Contracts.
CheckDecode
(header.VerReadable <= header.VerWritten, "Corrupt file header");
394
Contracts.
CheckDecode
(header.VerReadable <= VerWrittenCur, "File is too new");
395
Contracts.
CheckDecode
(header.VerWritten >= VerWeCanReadBack, "File is too old");
554
Contracts.
CheckDecode
(tail == TailSignatureValue, "Corrupt model file tail");