code: def testApplyPrunePreserve_WithQuantizeConfig(self):
      self.prune_preserve_quantize_registry.apply_sparsity_preserve_quantize_config(
          self.layer_conv2d,
          default_8bit_quantize_registry.Default8BitConvQuantizeConfig(
              ["kernel"], ["activation"], False
          ),
      )
  
file_path: model-optimization/tensorflow_model_optimization/python/core/quantization/keras/collab_opts/prune_preserve/prune_preserve_quantize_registry_test.py
imports: import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_config
  from tensorflow_model_optimization.python.core.quantization.keras.collab_opts.prune_preserve import prune_preserve_quantize_registry
  from tensorflow_model_optimization.python.core.quantization.keras.default_8bit import default_8bit_quantize_registry
  from tensorflow_model_optimization.python.core.sparsity.keras import prune_registry
label_desc: Use image node_id 4 for calling the PrunePreserveQuantizeRegistryTest obj's underlying member method code with example usage: obj.testApplyPrunePreserve_WithQuantizeConfig() without return types