This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93f96d4
commit c5ac923
Showing
51 changed files
with
3,261 additions
and
990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# 模型压缩 Python API 参考 | ||
|
||
```eval_rst | ||
.. contents:: | ||
``` | ||
|
||
## 灵敏度工具 | ||
|
||
```eval_rst | ||
.. autoclass:: nni.compression.torch.utils.sensitivity_analysis.SensitivityAnalysis | ||
:members: | ||
``` | ||
|
||
## 拓扑结构工具 | ||
|
||
```eval_rst | ||
.. autoclass:: nni.compression.torch.utils.shape_dependency.ChannelDependency | ||
:members: | ||
.. autoclass:: nni.compression.torch.utils.shape_dependency.GroupDependency | ||
:members: | ||
.. autoclass:: nni.compression.torch.utils.mask_conflict.CatMaskPadding | ||
:members: | ||
.. autoclass:: nni.compression.torch.utils.mask_conflict.GroupMaskConflict | ||
:members: | ||
.. autoclass:: nni.compression.torch.utils.mask_conflict.ChannelMaskConflict | ||
:members: | ||
``` | ||
|
||
## 模型 FLOPs 和参数计数器 | ||
|
||
```eval_rst | ||
.. autofunction:: nni.compression.torch.utils.counter.count_flops_params | ||
``` |
Oops, something went wrong.