code: def test_enumerate(num_destins, dtype):
      num_sources = 2 * num_destins
      logits = torch.randn(num_sources, num_destins, dtype=dtype)
      d = dist.OneTwoMatching(logits)
      values = d.enumerate_support()
      logging.info(
          "destins = {}, suport size = {}".format(
              num_destins, len(values)
          )
      )
      assert d.support.check(values), "invalid"
      assert len(set(map(_hash, values))) == len(values), "not unique"
  
imports: import logging
  import math
  import pytest
  import torch
  import pyro.distributions
  from tests.common import assert_close, assert_equal, xfail_if_not_implemented
label_desc: Use image node_id 3 for calling a global function with example usage: test_enumerate(num_destins, dtype) without return types