<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/model-optimization/blob/v0.8.1/tensorflow_model_optimization/python/core/quantization/keras/collab_opts/prune_preserve/default_8bit_prune_preserve_quantize_scheme.py#L23-L29) |

Default 8 bit Prune Preserve Quantization Scheme.

Inherits From: [`Default8BitQuantizeScheme`](https://www.tensorflow.org/model_optimization/api_docs/python/tfmot/quantization/keras/default_8bit/Default8BitQuantizeScheme), [`QuantizeScheme`](https://www.tensorflow.org/model_optimization/api_docs/python/tfmot/quantization/keras/QuantizeScheme)

#### View aliases


**Main aliases**

[`tfmot.experimental.combine.Default8BitPrunePreserveQuantizeScheme`](https://www.tensorflow.org/model_optimization/api_docs/python/tfmot/quantization/keras/collab_opts/Default8BitPrunePreserveQuantizeScheme)

<br />

    tfmot.quantization.keras.collab_opts.Default8BitPrunePreserveQuantizeScheme(
        disable_per_axis=False
    )

### Used in the notebooks

| Used in the guide |
|---|
| - [Pruning preserving quantization aware training (PQAT) Keras example](https://www.tensorflow.org/model_optimization/guide/combine/pqat_example) |

## Methods

### `get_layout_transformer`

[View source](https://github.com/tensorflow/model-optimization/blob/v0.8.1/tensorflow_model_optimization/python/core/quantization/keras/default_8bit/default_8bit_quantize_scheme.py#L28-L30)

    get_layout_transformer()

Returns the layout transforms for this scheme.

<br />

<br />

<br />

| Returns ||
|---|---|
| Returns the QuantizeLayoutTransform for this quantization scheme. ||

<br />

### `get_quantize_registry`

[View source](https://github.com/tensorflow/model-optimization/blob/v0.8.1/tensorflow_model_optimization/python/core/quantization/keras/collab_opts/prune_preserve/default_8bit_prune_preserve_quantize_scheme.py#L27-L29)

    get_quantize_registry()

Returns the quantization registry for this scheme.

<br />

<br />

<br />

| Returns ||
|---|---|
| Returns the QuantizeRegistry for this quantization scheme. ||

<br />