bitorch.quantizations.quantization_from_name¶
- bitorch.quantizations.quantization_from_name(name: str) Type[Quantization] [source]¶
returns the quantization to which the name belongs to (name has to be the value of the quantizations name-attribute)
- Parameters:
name (str) – name of the quantization
- Raises:
ValueError – raised if no quantization under that name was found
- Returns:
the quantization
- Return type:
quantization