|
Mila
Deep Neural Network Library
|
Common file header for Mila data files. More...
Public Member Functions | |
| MilaFileHeader (MilaFileType type, SerializationMetadata metadata={}) | |
| MilaFileType | getFileType () const |
| SerializationMetadata & | getMetadata () |
| const SerializationMetadata & | getMetadata () const |
| void | write (std::ostream &out) const |
Static Public Member Functions | |
| static MilaFileHeader | read (std::istream &in) |
Static Public Attributes | |
| static constexpr uint32_t | MAGIC = 0x4D494C41 |
| static constexpr uint32_t | VERSION = 1 |
Common file header for Mila data files.
Structure:
Followed by file-specific binary content.