docstr: ivy.Container instance method variant of ivy.repeat. This method
  simply wraps the function, and so the docstring for ivy.repeat also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  x
      Input container.
  repeats
      The number of repetitions for each element. repeats is broadcast to fit the
      shape of the given axis.
  axis
      The axis along which to repeat values. By default, use the flattened input
      array, and return a flat output array.
  out
      optional output array, for writing the result to. It must have a shape
      that the inputs broadcast to.
  
  Returns
  -------
  ret
      The output container with repreated leaves.
  
  Examples
  --------
  >>> x = ivy.Container(a=ivy.array([0., 1., 2.]), b=ivy.array([3., 4., 5.]))
  >>> y = x.repeat(2)
  >>> print(y)
  {
      a: ivy.array([0., 0., 1., 1., 2., 2.]),
      b: ivy.array([3., 3., 4., 4., 5., 5.])
  }
code: def repeat(
      self: ivy.Container,
      /,
      repeats: Union[int, Iterable[int], ivy.Container],
      *,
      axis: Optional[Union[int, Sequence[int], ivy.Container]] = None,
      key_chains: Optional[
          Union[List[str], Dict[str, str], ivy.Container]
      ] = None,
      to_apply: Union[bool, ivy.Container] = True,
      prune_unapplied: Union[bool, ivy.Container] = False,
      map_sequences: Union[bool, ivy.Container] = False,
      out: Optional[ivy.Container] = None,
  ) -> ivy.Container:
      """ivy.Container instance method variant of ivy.repeat. This method
      simply wraps the function, and so the docstring for ivy.repeat also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      x
          Input container.
      repeats
          The number of repetitions for each element. repeats is broadcast to fit the
          shape of the given axis.
      axis
          The axis along which to repeat values. By default, use the flattened input
          array, and return a flat output array.
      out
          optional output array, for writing the result to. It must have a shape
          that the inputs broadcast to.
  
      Returns
      -------
      ret
          The output container with repreated leaves.
  
      Examples
      --------
      >>> x = ivy.Container(a=ivy.array([0., 1., 2.]), b=ivy.array([3., 4., 5.]))
      >>> y = x.repeat(2)
      >>> print(y)
      {
          a: ivy.array([0., 0., 1., 1., 2., 2.]),
          b: ivy.array([3., 3., 4., 4., 5., 5.])
      }
      """
      return self._static_repeat(
          self,
          repeats,
          axis=axis,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
          out=out,
      )
  
imports: from typing import Optional, Union, List, Tuple, Dict, Iterable, Sequence
  from numbers import Number
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 20 for calling the _ContainerWithManipulation obj's underlying member method code with example usage: obj.repeat(repeats) and returns: self