code: def create_cdist(dist: pm.Distribution):
      def fun(*params):
          *dist_params, size = params
          return dist.dist(*dist_params, size=size)
  
      return fun
  
file_path: bambi/bambi/backend/utils.py
imports: import inspect
  from functools import partial
  import pytensor.tensor
  import pymc
label_desc: Use image node_id 11 for calling a global function with example usage: create_cdist(dist) and returns: fun, dist