code: def repeat_out(point_ndim, out, *point, out_shape=()):
      """Repeat out shape after finding batch shape.
  
      Parameters
      ----------
      point_ndim : int
          Point number of array dimensions.
      out : array-like
          Output to be repeated
      point : array-like or None
          Point belonging to the space.
      out_shape : tuple
          Indicates out shape for no batch computations.
  
      Returns
      -------
      out : array-like
          If no batch, then input is returned. Otherwise it is broadcasted.
      """
      point = filter(_is_not_none, point)
      batch_shape = get_batch_shape(point_ndim, *point)
      if out.shape[: -len(out_shape)] != batch_shape:
          return gs.broadcast_to(out, batch_shape + out_shape)
      return out
  
file_path: geomstats/geomstats/vectorization.py
imports: import math
  import geomstats.backend
label_desc: Use image node_id 7 for calling a global function with example usage: repeat_out(point_ndim, out) and returns: out, gs