BitWidthConfig

class model_compression_toolkit.core.BitWidthConfig(manual_activation_bit_width_selection_list=None)

Class to manage manual bit-width configurations.

manual_activation_bit_width_selection_list

A list of ManualBitWidthSelection objects defining manual bit-width configurations.

Type:

List[ManualBitWidthSelection]

ManualBitWidthSelection

class model_compression_toolkit.core.common.quantization.bit_width_config.ManualBitWidthSelection(filter, bit_width)

Class to encapsulate the manual bit width selection configuration for a specific filter.

filter

The filter used to select nodes for bit width manipulation.

Type:

BaseNodeMatcher

bit_width

The bit width to be applied to the selected nodes.

Type:

int