def METHOD_NAME(num_nodes, dtype):
    logits = torch.randn(num_nodes, num_nodes, dtype=dtype)
    d = dist.OneOneMatching(logits)
    values = d.enumerate_support()
    logging.info("destins = {}, suport size = {}".format(num_nodes, len(values)))
    assert d.support.check(values), "invalid"
    assert len(set(map(_hash, values))) == len(values), "not unique"