code: def test_esn_echo_state_property_eig():
      use_norm2 = False
      units = 3
      cell = ESNCell(
          units=units,
          use_norm2=use_norm2,
          recurrent_initializer="ones",
          connectivity=1.0,
      )
      cell.build((3, 3))
      recurrent_weights = tf.constant(
          cell.get_weights()[0], dtype=tf.float32
      )
      max_eig = tf.reduce_max(
          tf.abs(tf.linalg.eig(recurrent_weights)[0])
      )
      assert max_eig < 1, "max(eig(W)) < 1"
  
file_path: addons/tensorflow_addons/rnn/tests/esn_cell_test.py
imports: import numpy
  import tensorflow
  import tensorflow.keras
  from tensorflow_addons.rnn import ESNCell
label_desc: Use image node_id 2 for calling a global function with example usage: test_esn_echo_state_property_eig() without return types