code: def test_mode_phylo_smoke(num_leaves, dtype):
      logits, times = random_phylo_logits(num_leaves, dtype)
      d = dist.OneTwoMatching(logits, bp_iters=10)
      value = d.mode()
      assert d.support.check(value)
  
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 17 for calling a global function with example usage: test_mode_phylo_smoke(num_leaves, dtype) without return types