tf.keras.quantizers.QuantizationConfig

Base class for quantization configs.

Subclasses must implement the mode property and the get_config and from_config class methods.

weight_quantizer Quantizer for weights.
activation_quantizer Quantizer for activations.

mode

Methods

activation_quantizer_or_default

View source

from_config

View source

get_config

View source

weight_quantizer_or_default

View source