Skip to main content

inspect_weights

Function inspect_weights 

Source
pub fn inspect_weights(
    path: &Path,
) -> Result<HashMap<String, Vec<usize>>, ModelError>
Expand description

Lists tensor names and shapes from a weight file without loading data.