tfmot.quantization.keras.default_8bit.Default8BitQuantizeScheme
Stay organized with collections
Save and categorize content based on your preferences.
Default 8Bit Scheme supported by TFLite.
Inherits From: QuantizeScheme
tfmot.quantization.keras.default_8bit.Default8BitQuantizeScheme(
disable_per_axis=False
)
Methods
View source
get_layout_transformer()
Returns the layout transforms for this scheme.
Returns |
Returns the QuantizeLayoutTransform for this quantization scheme.
|
get_quantize_registry
View source
get_quantize_registry()
Returns the quantization registry for this scheme.
Returns |
Returns the QuantizeRegistry for this quantization scheme.
|
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.
Last updated 2023-05-26 UTC.
[null,null,["Last updated 2023-05-26 UTC."],[],[],null,["# tfmot.quantization.keras.default_8bit.Default8BitQuantizeScheme\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/model-optimization/blob/v0.7.5/tensorflow_model_optimization/python/core/quantization/keras/default_8bit/default_8bit_quantize_scheme.py#L22-L35) |\n\nDefault 8Bit Scheme supported by TFLite.\n\nInherits From: [`QuantizeScheme`](../../../../tfmot/quantization/keras/QuantizeScheme) \n\n tfmot.quantization.keras.default_8bit.Default8BitQuantizeScheme(\n disable_per_axis=False\n )\n\nMethods\n-------\n\n### `get_layout_transformer`\n\n[View source](https://github.com/tensorflow/model-optimization/blob/v0.7.5/tensorflow_model_optimization/python/core/quantization/keras/default_8bit/default_8bit_quantize_scheme.py#L28-L30) \n\n get_layout_transformer()\n\nReturns the layout transforms for this scheme.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---|---|\n| Returns the QuantizeLayoutTransform for this quantization scheme. ||\n\n\u003cbr /\u003e\n\n### `get_quantize_registry`\n\n[View source](https://github.com/tensorflow/model-optimization/blob/v0.7.5/tensorflow_model_optimization/python/core/quantization/keras/default_8bit/default_8bit_quantize_scheme.py#L32-L35) \n\n get_quantize_registry()\n\nReturns the quantization registry for this scheme.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---|---|\n| Returns the QuantizeRegistry for this quantization scheme. ||\n\n\u003cbr /\u003e"]]