code: def test_eval_metric_fn(self, include_variant_types):
      labels = tf.constant([1, 0], dtype=tf.int64)
      predictions = tf.constant([[1, 0], [0, 1]], dtype=tf.int64)
      if include_variant_types:
          variant_types = tf.constant([0, 1], dtype=tf.int64)
      else:
          variant_types = None
  
      expected = modeling.eval_function_metrics(
          has_variant_types=include_variant_types
      )
      actual = modeling.eval_metric_fn(
          labels, predictions, variant_types
      )
      self.assertEqual(set(expected.keys()), set(actual.keys()))
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import tensorflow
  import tf_slim
  from deepvariant import dv_constants
  from deepvariant import dv_utils_using_clif
  from deepvariant import modeling
label_desc: Use image node_id 6 for calling the ModelingTest obj's underlying member method code with example usage: obj.test_eval_metric_fn(include_variant_types) without return types