code: def deserialize_activation(config, use_legacy_format=False):
      if (
          "use_legacy_format"
          in inspect.getfullargspec(
              tf.keras.activations.deserialize
          ).args
      ):
          return tf.keras.activations.deserialize(
              config, use_legacy_format=use_legacy_format
          )
      else:
          return tf.keras.activations.deserialize(config)
  
file_path: model-optimization/tensorflow_model_optimization/python/core/quantization/keras/utils.py
imports: import inspect
  import tempfile
  import tensorflow
  from tensorflow_model_optimization.python.core.keras import compat
label_desc: Use image node_id 6 for calling a global function with example usage: deserialize_activation(config, use_legacy_format) and returns: tf, tf