docstr: ivy.Array instance method variant of ivy.einops_repeat. This method
  simply wraps the function, and so the docstring for ivy.einops_repeat
  also applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      Input array to be repeated.
  pattern
      Rearrangement pattern.
  axes_lengths
      Any additional specifications for dimensions.
  out
      optional output array, for writing the result to. It must have a shape
      that the inputs broadcast to.
  
  Returns
  -------
  ret
      New array with einops.repeat having been applied.
  
  Examples
  --------
  With :class:`ivy.Array` inputs:
  
  >>> x = ivy.array([5,4])
  >>> y = x.einops_repeat('a -> a c', c=3)
  >>> print(y)
  ivy.array([[5, 5, 5],
             [4, 4, 4]])
  
  With :class:`ivy.Array` inputs:
  
  >>> x = ivy.array([[5,4],
  ...                [2, 3]])
  >>> y = x.einops_repeat('a b ->  a b c', c=3)
  >>> print(y)
  ivy.array([[[5, 5, 5], [4, 4, 4]], [[2, 2, 2], [3, 3, 3]]])
  >>> print(y.shape)
  (2, 2, 3)
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.einops_repeat",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.einops_repeat","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","Input","array","to","be","repeated",".","pattern","Rearrangement","pattern",".","axes_lengths","Any","additional","specifications","for","dimensions",".","out","optional","output","array",",","for","writing","the","result","to",".","It","must","have","a","shape","that","the","inputs","broadcast","to",".","Returns","--","--","--","-","ret","New","array","with","einops.repeat","having","been","applied",".","Examples","--","--","--","--","With",":","class",":","`","ivy.Array","`","inputs",":",">",">",">","x","=","ivy.array","(","[","5,4","]",")",">",">",">","y","=","x.einops_repeat","(","'","a","-",">","a","c","'",",","c=3",")",">",">",">","print","(","y",")","ivy.array","(","[","[","5",",","5",",","5","]",",","[","4",",","4",",","4","]","]",")","With",":","class",":","`","ivy.Array","`","inputs",":",">",">",">","x","=","ivy.array","(","[","[","5,4","]",",","...","[","2",",","3","]","]",")",">",">",">","y","=","x.einops_repeat","(","'","a","b","-",">","a","b","c","'",",","c=3",")",">",">",">","print","(","y",")","ivy.array","(","[","[","[","5",",","5",",","5","]",",","[","4",",","4",",","4","]","]",",","[","[","2",",","2",",","2","]",",","[","3",",","3",",","3","]","]","]",")",">",">",">","print","(","y.shape",")","(","2",",","2",",","3",")"]
code: def einops_repeat(
      self: ivy.Array,
      pattern: str,
      /,
      *,
      out: Optional[ivy.Array] = None,
      **axes_lengths: Dict[str, int],
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.einops_repeat. This method
      simply wraps the function, and so the docstring for ivy.einops_repeat
      also applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          Input array to be repeated.
      pattern
          Rearrangement pattern.
      axes_lengths
          Any additional specifications for dimensions.
      out
          optional output array, for writing the result to. It must have a shape
          that the inputs broadcast to.
  
      Returns
      -------
      ret
          New array with einops.repeat having been applied.
  
      Examples
      --------
      With :class:`ivy.Array` inputs:
  
      >>> x = ivy.array([5,4])
      >>> y = x.einops_repeat('a -> a c', c=3)
      >>> print(y)
      ivy.array([[5, 5, 5],
                 [4, 4, 4]])
  
      With :class:`ivy.Array` inputs:
  
      >>> x = ivy.array([[5,4],
      ...                [2, 3]])
      >>> y = x.einops_repeat('a b ->  a b c', c=3)
      >>> print(y)
      ivy.array([[[5, 5, 5], [4, 4, 4]], [[2, 2, 2], [3, 3, 3]]])
      >>> print(y.shape)
      (2, 2, 3)
      """
      return ivy.einops_repeat(
          self._data, pattern, out=out, **axes_lengths
      )
  
imports: import abc
  import numpy
  from numbers import Number
  from typing import Any, Iterable, Union, Optional, Dict, Callable, List, Tuple
  import ivy
label_desc: Use image node_id 12 for calling the _ArrayWithGeneral obj's underlying member method code with example usage: obj.einops_repeat() and returns: ivy