Skip to main content

structured_pruning

Function structured_pruning 

Source
pub fn structured_pruning<P: AsRef<Path>>(
    input_path: P,
    output_path: P,
    config: &PruningConfig,
) -> Result<PruningStats>
Expand description

Performs structured pruning (removes entire filters/channels)

ยงErrors

Returns an error if pruning fails