code: def repeat(a, repeats, axis=None):
      """Repeat arrays along an axis.
  
      Args:
          a (cupy.ndarray): Array to transform.
          repeats (int, list or tuple): The number of repeats.
          axis (int): The axis to repeat.
  
      Returns:
          cupy.ndarray: Transformed array with repeats.
  
      .. seealso:: :func:`numpy.repeat`
  
      """
      return a.repeat(repeats, axis)
  
label_desc: Use image node_id 2 for calling a global function with example usage: repeat(a, repeats, axis) and returns: a