code: def broadcasting_params(
      draw, process_name, batch_shape, event_dim=None, enable_vars=False
  ):
      """Strategy for drawing parameters broadcasting to `batch_shape`."""
      if process_name not in PARAM_EVENT_NDIMS_BY_PROCESS_NAME:
          raise ValueError(
              "Unknown Process name {}".format(process_name)
          )
  
      params_event_ndims = PARAM_EVENT_NDIMS_BY_PROCESS_NAME[
          process_name
      ]
  
      def _constraint(param):
          return constraint_for(process_name, param)
  
      return draw(
          tfp_hps.broadcasting_params(
              batch_shape,
              params_event_ndims,
              event_dim=event_dim,
              enable_vars=enable_vars,
              constraint_fn_for=_constraint,
              mutex_params=MUTEX_PARAMS,
              dtype=np.float64,
          )
      )
  
imports: from absl.testing import parameterized
  import hypothesis
  from hypothesis import strategies
  import numpy
  import six
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import gaussian_process
  from tensorflow_probability.python.distributions import gaussian_process_regression_model
  from tensorflow_probability.python.distributions import student_t_process
  from tensorflow_probability.python.distributions import student_t_process_regression_model
  from tensorflow_probability.python.distributions import variational_gaussian_process
  from tensorflow_probability.python.experimental.distributions import marginal_fns
  from tensorflow_probability.python.internal import hypothesis_testlib
  from tensorflow_probability.python.internal import reparameterization
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math.psd_kernels import hypothesis_testlib
label_desc: Use image node_id 2 for calling a global function with example usage: broadcasting_params(draw, process_name, batch_shape, event_dim, enable_vars) and returns: draw, constraint_for