Skip to main content

validate_structure

Function validate_structure 

Source
pub fn validate_structure(data: &[u8]) -> bool
Expand description

Run all structural (byte-only) checks against a candidate .apr buffer.

Returns true iff the structure is well-formed. Performs NO f32 / tensor physics validation — that is the responsibility of aprender-core.