docstr: ivy.Array 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
  ----------
  self
      Input array.
  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 repeated output array.
  
  Examples
  --------
  >>> x = ivy.array([0., 1., 2.])
  >>> y= x.repeat(2)
  >>> print(y)
  ivy.array([0., 0., 1., 1., 2., 2.])
docstr_tok: ["ivy.Array","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","--","--","--","--","--","self","Input","array",".","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","repeated","output","array",".","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","0.",",","1.",",","2",".","]",")",">",">",">","y=","x.repeat","(","2",")",">",">",">","print","(","y",")","ivy.array","(","[","0.",",","0.",",","1.",",","1.",",","2.",",","2",".","]",")"]
code: def repeat(
      self: ivy.Array,
      /,
      repeats: Union[int, Iterable[int]],
      *,
      axis: Optional[Union[int, Sequence[int]]] = None,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array 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
      ----------
      self
          Input array.
      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 repeated output array.
  
      Examples
      --------
      >>> x = ivy.array([0., 1., 2.])
      >>> y= x.repeat(2)
      >>> print(y)
      ivy.array([0., 0., 1., 1., 2., 2.])
      """
      return ivy.repeat(self._data, repeats=repeats, axis=axis, out=out)
  
imports: import abc
  from typing import Optional, Union, Tuple, List, Iterable, Sequence
  from numbers import Number
  import ivy
  from ivy import handle_view
label_desc: Use image node_id 12 for calling the _ArrayWithManipulation obj's underlying member method code with example usage: obj.repeat(repeats) and returns: ivy