|
Mila
Deep Neural Network Library
|
What validation found. More...
Public Member Functions | |
| bool | ok () const noexcept |
Public Attributes | |
| uint64_t | bytes_verified { 0 } |
| Bytes actually read and digested. | |
| int | files_verified { 0 } |
| std::vector< std::string > | problems |
| std::vector< std::string > | warnings |
What validation found.
Problems and warnings are separate because they have different consequences: a problem means the bytes do not match what the manifest claims, and nothing may be emitted or installed; a warning means the package would ship without a license or a model card, which is a publishing decision rather than a corruption.