code: def testSerializationReturnsWrappedActivation(
      self, activation, activation_config
  ):
      quantize_activation = QuantizeAwareActivation(
          activation, self.quantizer, 0, self.TestLayer()
      )
      serialized_quantize_activation = serialize_keras_object(
          quantize_activation
      )
  
      expected_config = {
          "class_name": "QuantizeAwareActivation",
          "config": activation_config,
      }
      self.assertEqual(expected_config, serialized_quantize_activation)
      with tf.keras.utils.custom_object_scope(
          {
              "QuantizeAwareActivation": QuantizeAwareActivation,
              "NoOpActivation": quantize_aware_activation.NoOpActivation,
          }
      ):
          deserialized_activation = deserialize_keras_object(
              serialized_quantize_activation
          )
  
      self.assertEqual(activation, deserialized_activation)
  
file_path: model-optimization/tensorflow_model_optimization/python/core/quantization/keras/quantize_aware_activation_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_aware_activation
  from tensorflow_model_optimization.python.core.quantization.keras import quantizers
  from tensorflow_model_optimization.python.core.quantization.keras import utils
label_desc: Use image node_id 7 for calling the QuantizeAwareQuantizationTest obj's underlying member method code with example usage: obj.testSerializationReturnsWrappedActivation(activation, activation_config) without return types