neural_compressor.pruner.pruner_legacy.group_lasso
¶
Group Lasso pruner.
Module Contents¶
Classes¶
Group Lasso pruner class. |
- class neural_compressor.pruner.pruner_legacy.group_lasso.GroupLassoPruner(model, local_config, global_config)¶
Bases:
neural_compressor.pruner.pruner_legacy.magnitude.BasicMagnitudePruner
Group Lasso pruner class.
- Parameters:
- on_before_optimizer_step()¶
Update gradient to prune the weights by back propagation.