-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#3507 follow up] update doc #3688
Conversation
docs/en_US/Compression/Framework.rst
Outdated
@@ -103,7 +102,8 @@ Users can also remove this collector like this: | |||
Pruner | |||
------ | |||
|
|||
A pruner receives ``model``\ , ``config_list`` and ``optimizer`` as arguments. It prunes the model per the ``config_list`` during training loop by adding a hook on ``optimizer.step()``. | |||
A pruner receives ``model``\ , ``config_list`` as arguments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove \
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -554,6 +559,8 @@ class ActivationMeanRankFilterPruner(IterativePruner): | |||
The activation type. | |||
sparsity_training_epochs: int | |||
The number of batches to statistic the activation. | |||
statistics_batch_num: int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why there is no such parameter before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
workaround by using sparsifying_training_batches
Post-fixes for #3507