code: def test_serialization(name):
      fn = tf.keras.activations.get("Addons>" + name)
      ref_fn = getattr(activations, name)
      assert fn.__class__ == ref_fn.__class__
      config = tf.keras.activations.serialize(fn)
      fn = tf.keras.activations.deserialize(config)
      assert fn.__class__ == ref_fn.__class__
  
imports: import pytest
  import tensorflow
  from tensorflow_addons import activations
label_desc: Use image node_id 1 for calling a global function with example usage: test_serialization(name) without return types