Skip to main content
Version: 0.1

Settings

CLASS - Settings(

)

This Dataclass holds all the information necessary to run CLIKA Compression.

Class Variables

  • deployment_settings (Optional[BaseDeploymentSettings]) - Deployment Settings that are applied Globally. Must be set.
  • global_quantization_settings (BaseQATQuantizationSettings) - Quantization Settings that are applied Globally
  • layer_settings (Optional[Dict[strLayerSettings]]) - Settings that are applied for specific Layers.
  • training_settings (TrainingSettings) - Training Settings

Methods

get_layer_settings

get_layer_settings(self,

) ‑> Optional[LayerSettings]

Parameters:

  • name (str) - Name of Layer

Returns:

 Optional[LayerSettings]: The Layer Settings for the given Layer with the name argument

set_layer_settings

set_layer_settings(self,

) ‑> None

Parameters:

set_quantization_settings_for_layer

set_quantization_settings_for_layer(self,

  • name: str
  • settings: BaseQuantizationSettings

) ‑> None

Parameters:

  • name (str) - name of the Layer
  • settings (BaseQuantizationSettings) - The Quantization Settings for a specific Layer.

Returns:

 None: