code: def test_config():
      mcm_obj = MultiLabelConfusionMatrix(num_classes=3)
      assert mcm_obj.num_classes == 3
      assert mcm_obj.dtype == tf.float32
      # Check save and restore config
      mcm_obj2 = MultiLabelConfusionMatrix.from_config(
          mcm_obj.get_config()
      )
      assert mcm_obj2.num_classes == 3
      assert mcm_obj2.dtype == tf.float32
  
file_path: addons/tensorflow_addons/metrics/tests/multilabel_confusion_matrix_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_addons.metrics import MultiLabelConfusionMatrix
label_desc: Use image node_id 1 for calling a global function with example usage: test_config() without return types