code: def test_config(self):
      f1_obj = f_score_metrics.F1Score(dtype="float32")
      config = f1_obj.get_config()
      self.assertNotIn("beta", config)
  
      # Check save and restore config
      f1_obj = f_score_metrics.F1Score.from_config(config)
      self.assertEqual(f1_obj.average, None)
      self.assertEqual(f1_obj.dtype, "float32")
  
file_path: keras/keras/metrics/f_score_metrics_test.py
imports: import numpy
  from absl.testing import parameterized
  from keras import testing
  from keras.metrics import f_score_metrics
label_desc: Use image node_id 1 for calling the F1ScoreTest obj's underlying member method code with example usage: obj.test_config() without return types