code: def tile(
      x: Union[ivy.Array, ivy.NativeArray],
      /,
      repeats: Iterable[int],
      *,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """Construct an array by repeating x the number of times given by reps.
  
      Parameters
      ----------
      x
          Input array.
      repeats
          The number of repetitions of x along each axis.
      out
          optional output array, for writing the result to. It must have a shape that the
          inputs broadcast to.
  
      Returns
      -------
      ret
          The tiled output array.
  
  
      Examples
      --------
      With :class:`ivy.Array` input:
  
      >>> x = ivy.array([1,2,3,4])
      >>> y = ivy.tile(x, 3)
      >>> print(y)
      ivy.array([1,2,3,4,1,2,3,4,1,2,3,4])
  
      >>> x = ivy.array([[1,2,3],
      ...                [4,5,6]])
      >>> y = ivy.tile(x, (2,3))
      >>> print(y)
      ivy.array([[1,2,3,1,2,3,1,2,3],
                 [4,5,6,4,5,6,4,5,6],
                 [1,2,3,1,2,3,1,2,3],
                 [4,5,6,4,5,6,4,5,6]])
  
      >>> x = ivy.array([[[0], [1]]])
      >>> y = ivy.tile(x,(2,2,3))
      >>> print(y)
      ivy.array([[[0,0,0],
                  [1,1,1],
                  [0,0,0],
                  [1,1,1]],
                 [[0,0,0],
                  [1,1,1],
                  [0,0,0],
                  [1,1,1]]])
  
      With :class:`ivy.Container` input:
  
      >>> x = ivy.Container( a = ivy.array([0,1,2]), b = ivy.array([[3],[4]]))
      >>> y = ivy.tile(x, (1,2))
      >>> print(y)
      {
          a: ivy.array([[0,1,2,0,1,2]]),
          b: ivy.array([[3,3],[4,4]])
      }
  
  
      # Both the description and the type hints above assumes an array input for
      simplicity, but this function is *nestable*, and therefore also accepts
      :class:`ivy.Container` instances in place of any of the arguments.
      """
      return current_backend(x).tile(x, repeats, out=out)
  
imports: from typing import Union, Optional, Tuple, List, Iterable, Sequence
  from numbers import Number
  from numpy.core.numeric import normalize_axis_tuple
  import ivy
  from ivy.utils.backend import current_backend
  from ivy.func_wrapper import handle_array_function, to_native_arrays_and_back, handle_out_argument, handle_nestable, handle_array_like_without_promotion, handle_view, handle_device, handle_backend_invalid
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 15 for calling a global function with example usage: tile(repeats) and returns: current_backend