code: def repeat_point(point, n_reps=2, expand=False):
      """Repeat point.
  
      Parameters
      ----------
      point : array-like
          Point of a space.
      n_reps : int
          Number of times the point should be repeated.
      expand : bool
          Repeat even if n_reps == 1.
  
      Returns
      -------
      rep_point : array-like
          point repeated n_reps times.
      """
      if not expand and n_reps == 1:
          return gs.copy(point)
  
      return gs.repeat(gs.expand_dims(point, 0), n_reps, axis=0)
  
file_path: geomstats/geomstats/vectorization.py
imports: import math
  import geomstats.backend
label_desc: Use image node_id 5 for calling a global function with example usage: repeat_point(point, n_reps, expand) and returns: gs, gs