-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change KPI to Resource Utilization (#1008)
Changing KPI terminology (in mixed precision & pruning constraints and in general model hw footprint evaluation) to Resource Utilization. That includes: - KPI class renaming to ResourceUtilization class - kpi_data API renaming to resource_utilization_data API - Local variable renaming - Functions renaming - Change KPI appearance in comments and documentation --------- Co-authored-by: Ofir Gordon <[email protected]>
- Loading branch information
Showing
92 changed files
with
1,394 additions
and
1,361 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
6 changes: 3 additions & 3 deletions
6
docsrc/source/api/api_docs/classes/KPI.rst → .../api_docs/classes/ResourceUtilization.rst
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
:orphan: | ||
|
||
.. _ug-KPI: | ||
.. _ug-ResourceUtilization: | ||
|
||
|
||
KPI | ||
ResourceUtilization | ||
================================ | ||
**Object to configure resources to use when searching for a configuration for the optimized model (such as in mixed-precision, pruning, etc.):** | ||
|
||
.. autoclass:: model_compression_toolkit.core.KPI | ||
.. autoclass:: model_compression_toolkit.core.ResourceUtilization | ||
|
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
:orphan: | ||
|
||
.. _ug-keras_kpi_data: | ||
.. _ug-keras_resource_utilization_data: | ||
|
||
|
||
======================================= | ||
Get KPI information for Keras Models | ||
======================================= | ||
======================================================= | ||
Get Resource Utilization information for Keras Models | ||
======================================================= | ||
|
||
.. autofunction:: model_compression_toolkit.core.keras_kpi_data | ||
.. autofunction:: model_compression_toolkit.core.keras_resource_utilization_data |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
:orphan: | ||
|
||
.. _ug-pytorch_kpi_data: | ||
.. _ug-pytorch_resource_utilization_data: | ||
|
||
|
||
======================================= | ||
Get KPI information for PyTorch Models | ||
======================================= | ||
============================================================ | ||
Get Resource Utilization information for PyTorch Models | ||
============================================================ | ||
|
||
.. autofunction:: model_compression_toolkit.core.pytorch_kpi_data | ||
.. autofunction:: model_compression_toolkit.core.pytorch_resource_utilization_data |
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
112 changes: 0 additions & 112 deletions
112
model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi.py
This file was deleted.
Oops, something went wrong.
105 changes: 0 additions & 105 deletions
105
model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_aggregation_methods.py
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_functions_mapping.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.