<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/experimental/default_n_bit/default_n_bit_quantize_scheme.py#L22-L41) |

Default N-Bit Scheme supported by TFLite.

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

    tfmot.quantization.keras.experimental.default_n_bit.DefaultNBitQuantizeScheme(
        disable_per_axis=False, num_bits_weight=8, num_bits_activation=8
    )

## Methods

### `get_layout_transformer`

[View source](https://github.com/tensorflow/model-optimization/blob/v0.8.1/tensorflow_model_optimization/python/core/quantization/keras/experimental/default_n_bit/default_n_bit_quantize_scheme.py#L31-L34)

    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/experimental/default_n_bit/default_n_bit_quantize_scheme.py#L36-L41)

    get_quantize_registry()

Returns the quantization registry for this scheme.

<br />

<br />

<br />

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

<br />