Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Model/format validation utilities + tests + npz fixes #7701
Adds numerous validation utils for checking if most common serialized formats are valid:
In most (but not all) cases, it should be cheaper/faster to use these validation tools to detect invalid formats than simply trying to load the format to see if it works or not.
Validation tools have common return format - ValidationResult object with the following information:
Also fixes and better tests for npz file reading.
Eventually we should integrate these better into actual loading, but we'll look at that separately