code: def testSupportedPreAndPostActivation(self):
      layer = self.TestLayer()
      layer.activation = QuantizeAwareActivation(
          activations.get("gelu"), self.quantizer, 0, layer
      )
      model = keras.Sequential([layer])
      names = ", ".join(
          [weight.name for weight in model.layers[-1].weights]
      )
      self.assertIn("pre_activation", names)
      self.assertIn("post_activation", names)
  
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 2 for calling the QuantizeAwareQuantizationTest obj's underlying member method code with example usage: obj.testSupportedPreAndPostActivation() without return types