tf.keras.quantizers.Int8QuantizationConfig
Stay organized with collections
Save and categorize content based on your preferences.
Int8 quantization config.
Inherits From: QuantizationConfig
tf.keras.quantizers.Int8QuantizationConfig(
weight_quantizer=None, activation_quantizer='default'
)
Args |
weight_quantizer
|
Quantizer for weights.
|
activation_quantizer
|
Quantizer for activations. If "default", uses
AbsMaxQuantizer with axis=-1.
|
Methods
activation_quantizer_or_default
View source
@staticmethod
activation_quantizer_or_default(
config, default
)
from_config
View source
@classmethod
from_config(
config
)
get_config
View source
get_config()
weight_quantizer_or_default
View source
@staticmethod
weight_quantizer_or_default(
config, default
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2026-10-31 UTC.
[null,null,["Last updated 2026-10-31 UTC."],[],[]]