code: def _config_enumerate(default, expand, num_samples, tmc):
      return partial(_config_fn, default, expand, num_samples, tmc)
  
file_path: pyro/pyro/infer/enum.py
imports: import numbers
  from functools import partial
  from queue import LifoQueue
  from pyro import poutine
  from pyro.infer.util import is_validation_enabled
  from pyro.poutine import Trace
  from pyro.poutine.enum_messenger import enumerate_site
  from pyro.poutine.util import prune_subsample_sites
  from pyro.util import check_model_guide_match, check_site_shape, ignore_jit_warnings
label_desc: Use image node_id 6 for calling a global function with example usage: _config_enumerate(default, expand, num_samples, tmc) and returns: partial