code: def repeat(data, repeats, axis):
      """Repeats elements of an array.
      By default, repeat flattens the input array into 1-D and then repeats the elements.
  
      Parameters
      ----------
      data : relay.Expr
          The input tensor.
  
      repeats : int
          The number of repetitions for each element.
  
      axis: int
          The axis along which to repeat values. The negative numbers are interpreted
          counting from the backward. By default, use the flattened input array, and
          return a flat output array.
  
      Returns
      -------
      ret : relay.Expr
          The computed result.
  
      Examples
      --------
      .. code-block:: python
  
          x = [[1, 2], [3, 4]]
          relay.repeat(x, repeats=2) = [1., 1., 2., 2., 3., 3., 4., 4.]
  
          relay.repeat(x, repeats=2, axis=1) = [[1., 1., 2., 2.],
                                                [3., 3., 4., 4.]]
      """
      return _make.repeat(data, repeats, axis)
  
imports: from ...tir import expr
  from ..expr import Constant, Expr, Tuple, TupleWrapper, const
  from .None import _make
  from .dyn import _make
  from .tensor import shape_of
label_desc: Use image node_id 18 for calling a global function with example usage: repeat(data, repeats, axis) and returns: _make