Skip to content

Commit

Permalink
Delete unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
liord committed Dec 12, 2024
1 parent 276bacc commit 274e8e3
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,6 @@
TargetPlatformModel, QuantizationConfigOptions, OperatorsSetBase


def get_config_options_by_operators_set(self, operators_set_name: str) -> QuantizationConfigOptions:
"""
Get the QuantizationConfigOptions of an OperatorsSet by its name.
Args:
operators_set_name (str): Name of the OperatorsSet to get.
Returns:
QuantizationConfigOptions: Quantization configuration options for the given OperatorsSet name.
"""
for op_set in self.operator_set:
if operators_set_name == op_set.name:
return op_set.qc_options
return self.default_qco


def max_input_activation_n_bits(op_quantization_config: OpQuantizationConfig) -> int:
"""
Get the maximum supported input bit-width.
Expand Down

0 comments on commit 274e8e3

Please sign in to comment.