code: def repeat(a, repeats, axis):
      """Repeats elements of an array.
  
      Parameters
      ----------
      a : tvm.te.Tensor
          The tensor to be repeated.
  
      repeats: int, required
          Number of repetitions for each element
  
      axis: int, optional
          The axis along which to repeat values
  
      Returns
      -------
      ret : tvm.te.Tensor
      """
      return cpp.repeat(a, repeats, axis)
  
imports: from __future__ import absolute_import
  import tvm
  from tvm import te, topi
  from tvm.te import hybrid
  from .None import cpp, tag
  from .utils import const_vector, make_idx, within_index
label_desc: Use image node_id 21 for calling a global function with example usage: repeat(a, repeats, axis) and returns: cpp