mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
add `class FPGMStructured` add `function FPGM_structured()` add `function _validate_distance_type()` add `function _compute_distance()` Implement method mentioned in issue #39765 --- FPGMSparsifier Implement with the new pytorch pruning API torch.ao.pruning. It is a structured pruning method, and it is added under torch.ao.pruning._experimental. Test cases are added at `test_structured_sparsifier.py`. Pull Request resolved: https://github.com/pytorch/pytorch/pull/95689 Approved by: https://github.com/jcaip |
||
|---|---|---|
| .. | ||
| activation_sparsifier | ||
| data_scheduler | ||
| data_sparsifier | ||
| pruner | ||
| __init__.py | ||