code: def test_config(self):
      k_obj = metrics.KLDivergence(name="kld", dtype="int32")
      self.assertEqual(k_obj.name, "kld")
      self.assertEqual(k_obj._dtype, "int32")
  
      k_obj2 = metrics.KLDivergence.from_config(k_obj.get_config())
      self.assertEqual(k_obj2.name, "kld")
      self.assertEqual(k_obj2._dtype, "int32")
  
imports: import numpy
  from keras import metrics
  from keras import testing
label_desc: Use image node_id 2 for calling the KLDivergenceTest obj's underlying member method code with example usage: obj.test_config() without return types