pub fn inspect_weights( path: &Path, ) -> Result<HashMap<String, Vec<usize>>, ModelError>
Lists tensor names and shapes from a weight file without loading data.