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