Skip to main content

validate_weights

Function validate_weights 

Source
pub fn validate_weights(
    weights: &HashMap<String, Tensor>,
    num_layers: usize,
) -> Result<()>
Expand description

Validate that loaded weights match expected architecture