class_docstr: QuantizationRegistry for built-in Keras classes for default 8-bit scheme.
class_docstr_tok: ["QuantizationRegistry","for","built-in","Keras","classes","for","default","8-bit","scheme","."]
code: def _get_quantize_config(self, layer_type):
      quantize_info = self._get_quantize_info(layer_type)
  
      # In case of `Activation`, there is no `_QuantizeInfo` object. It
      # directly stores a `QuantizeConfig`.
      if isinstance(quantize_info, QuantizeConfig):
          return quantize_info
  
      return DefaultNBitQuantizeConfig(
          quantize_info.weight_attrs,
          quantize_info.activation_attrs,
          quantize_info.quantize_output,
          quantize_info.num_bits_weight,
          quantize_info.num_bits_activation,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Any, Dict
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_config
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_registry
  from tensorflow_model_optimization.python.core.quantization.keras import quantizers
  from tensorflow_model_optimization.python.core.quantization.keras.experimental.default_n_bit import default_n_bit_quantize_configs
  from tensorflow_model_optimization.python.core.quantization.keras.experimental.default_n_bit import default_n_bit_quantizers
label_desc: Use image node_id 6 for calling the DefaultNBitQuantizeRegistry obj's underlying member method code with example usage: obj._get_quantize_config(layer_type) and returns: DefaultNBitQuantizeConfig, quantize_info