tfmot.experimental.combine.Default8BitClusterPreserveQuantizeScheme

Default 8 bit Cluster Preserve Quantization Scheme.

Inherits From: Default8BitQuantizeScheme, QuantizeScheme

Used in the notebooks

Used in the guide

preserve_sparsity the flag to enable prune-cluster-preserving QAT.

Methods

get_layout_transformer

View source

Returns the layout transforms for this scheme.

Returns
Returns the QuantizeLayoutTransform for this quantization scheme.

get_quantize_registry

View source

Returns the quantization registry for this scheme.

Returns
Returns the QuantizeRegistry for this quantization scheme.