Skip to content

Commit

Permalink
CA backend_params attr is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
daniil-lyakhov committed Aug 21, 2023
1 parent 077f3d0 commit ce6ce26
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions nncf/quantization/algorithms/channel_alignment/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,17 @@ def __init__(
self,
subset_size: int = 100,
inplace_statistics: bool = True,
backend_params: Optional[Dict[str, Any]] = None,
):
"""
:param subset_size: Size of a subset for the statistics collection,
defaults to 100.
:param inplace_statistics: Defines wheather to calculate quantizers statistics
by backend graph operations or by default Python implementation, defaults
to True.
:param backend_params: Backend specific parameters.
"""
super().__init__()
self.subset_size = subset_size
self.inplace_statistics = inplace_statistics
self.backend_params = backend_params
self._backend_entity = None
self._quantile = 1e-4
self._algorithm_key = f"CA_{hash(self)}"
Expand Down
1 change: 0 additions & 1 deletion nncf/quantization/algorithms/post_training/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def __init__(
channel_alignment = ChannelAlignment(
subset_size=subset_size,
inplace_statistics=advanced_parameters.inplace_statistics,
backend_params=advanced_parameters.backend_params,
)
self.first_stage_algorithms.append(channel_alignment)

Expand Down

0 comments on commit ce6ce26

Please sign in to comment.