code: def test_config_layer_norm_legacy():
      cell = LayerNormLSTMCell(10, name="layer_norm_lstm_cell_3")
  
      expected_config = {
          "dtype": "float32",
          "name": "layer_norm_lstm_cell_3",
          "trainable": True,
          "units": 10,
          "activation": "tanh",
          "recurrent_activation": "sigmoid",
          "use_bias": True,
          "kernel_initializer": {
              "class_name": "GlorotUniform",
              "config": {"seed": None},
              "module": "keras.initializers",
              "registered_name": None,
          },
          "recurrent_initializer": {
              "class_name": "Orthogonal",
              "config": {"seed": None, "gain": 1.0},
              "module": "keras.initializers",
              "registered_name": None,
          },
          "bias_initializer": {
              "class_name": "Zeros",
              "config": {},
              "module": "keras.initializers",
              "registered_name": None,
          },
          "unit_forget_bias": True,
          "kernel_regularizer": None,
          "recurrent_regularizer": None,
          "bias_regularizer": None,
          "kernel_constraint": None,
          "recurrent_constraint": None,
          "bias_constraint": None,
          "dropout": 0.0,
          "recurrent_dropout": 0.0,
          "implementation": 2,
          "norm_gamma_initializer": {
              "class_name": "Ones",
              "config": {},
              "module": "keras.initializers",
              "registered_name": None,
          },
          "norm_beta_initializer": {
              "class_name": "Zeros",
              "config": {},
              "module": "keras.initializers",
              "registered_name": None,
          },
          "norm_epsilon": 1e-3,
      }
      config = cell.get_config()
      assert config == expected_config
  
      restored_cell = LayerNormLSTMCell.from_config(config)
      restored_config = restored_cell.get_config()
      assert config == restored_config
  
file_path: addons/tensorflow_addons/rnn/tests/layer_norm_lstm_cell_test.py
imports: import pytest
  from packaging.version import Version
  import numpy
  import tensorflow
  import tensorflow.keras
  from tensorflow_addons.rnn import LayerNormLSTMCell
label_desc: Use image node_id 2 for calling a global function with example usage: test_config_layer_norm_legacy() without return types