code: def test_get_config(attention_cls):
      dummy_data = DummyData()
      attention = attention_cls(dummy_data.units, dummy_data.memory)
      config = attention.get_config()
  
      attention_from_config = attention_cls.from_config(config)
      config_from_clone = attention_from_config.get_config()
  
      assert config == config_from_clone
  
imports: import collections
  from packaging.version import Version
  import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.seq2seq import attention_wrapper
  from tensorflow_addons.seq2seq import basic_decoder
  from tensorflow_addons.seq2seq import sampler
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_config(attention_cls) without return types