code: def make_model(
      model_name: str,
      likelihood_model: likelihoods.LikelihoodModel,
      time_series_xs: Array,
      width: int = 5,
      periods: Sequence[float] = (0.1,),
  ) -> bnn.BNN:
      """Create a BNN model by name."""
      m = MODEL_NAME_TO_MAKE_FUNCTION[model_name](
          time_series_xs=time_series_xs,
          width=width,
          periods=periods,
          num_outputs=likelihood_model.num_outputs(),
      )
      m.set_likelihood_model(likelihood_model)
      return m
  
file_path: probability/tensorflow_probability/python/experimental/autobnn/models.py
imports: import functools
  from typing import Sequence
  import jax.numpy
  from tensorflow_probability.python.experimental.autobnn import bnn
  from tensorflow_probability.python.experimental.autobnn import bnn_tree
  from tensorflow_probability.python.experimental.autobnn import kernels
  from tensorflow_probability.python.experimental.autobnn import likelihoods
  from tensorflow_probability.python.experimental.autobnn import operators
label_desc: Use image node_id 11 for calling a global function with example usage: make_model(model_name, likelihood_model, time_series_xs, width, periods) and returns: m