code: def test_serialization(dtype):
      esn = ESN(
          units=3,
          connectivity=1,
          leaky=1,
          spectral_radius=0.9,
          use_norm2=False,
          use_bias=True,
          activation=None,
          kernel_initializer="ones",
          recurrent_initializer="ones",
          bias_initializer="ones",
      )
      serialized_esn = tf.keras.layers.serialize(esn)
      new_layer = tf.keras.layers.deserialize(serialized_esn)
      assert esn.get_config() == new_layer.get_config()
  
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.layers.esn import ESN
  from tensorflow_addons.utils import test_utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_serialization(dtype) without return types