code: def testGetsPerTensorIfPerAxisDisabled(self, disable_per_axis):
      test_quantize_registry = (
          default_8bit_quantize_registry.Default8BitQuantizeRegistry(
              disable_per_axis
          )
      )
      quantize_config = test_quantize_registry.get_quantize_config(
          l.Conv2D(10, (2, 2))
      )
      if disable_per_axis:
          self.assertIsInstance(
              quantize_config,
              default_8bit_quantize_registry.Default8BitQuantizeConfig,
          )
      else:
          self.assertIsInstance(
              quantize_config,
              default_8bit_quantize_registry.Default8BitConvQuantizeConfig,
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import unittest
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras import quantizers
  from tensorflow_model_optimization.python.core.quantization.keras import utils
  from tensorflow_model_optimization.python.core.quantization.keras.default_8bit import default_8bit_quantize_registry
label_desc: Use image node_id 7 for calling the QuantizeRegistryTest obj's underlying member method code with example usage: obj.testGetsPerTensorIfPerAxisDisabled(disable_per_axis) without return types