docstr: `ivy.Array` instance method variant of `ivy.broadcast_to`. This
  method simply wraps the function, and so the docstring for
  `ivy.broadcast_to` also applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input array to be broadcasted.
  shape
      desired shape to be broadcasted to.
  out
      Optional array to store the broadcasted array.
  
  Returns
  -------
  ret
      Returns the broadcasted array of shape 'shape'
  
  Examples
  --------
  With :class:`ivy.Array` instance method:
  
  >>> x = ivy.array([1, 2, 3])
  >>> y = x.broadcast_to((3,3))
  >>> print(y)
  ivy.array([[1, 2, 3],
             [1, 2, 3],
             [1, 2, 3]])
docstr_tok: ["`","ivy.Array","`","instance","method","variant","of","`","ivy.broadcast_to","`",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","`","ivy.broadcast_to","`","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array","to","be","broadcasted",".","shape","desired","shape","to","be","broadcasted","to",".","out","Optional","array","to","store","the","broadcasted","array",".","Returns","--","--","--","-","ret","Returns","the","broadcasted","array","of","shape","'shape'","Examples","--","--","--","--","With",":","class",":","`","ivy.Array","`","instance","method",":",">",">",">","x","=","ivy.array","(","[","1",",","2",",","3","]",")",">",">",">","y","=","x.broadcast_to","(","(","3,3",")",")",">",">",">","print","(","y",")","ivy.array","(","[","[","1",",","2",",","3","]",",","[","1",",","2",",","3","]",",","[","1",",","2",",","3","]","]",")"]
code: def broadcast_to(
      self: ivy.Array,
      /,
      shape: Tuple[int, ...],
      *,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """`ivy.Array` instance method variant of `ivy.broadcast_to`. This
      method simply wraps the function, and so the docstring for
      `ivy.broadcast_to` also applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input array to be broadcasted.
      shape
          desired shape to be broadcasted to.
      out
          Optional array to store the broadcasted array.
  
      Returns
      -------
      ret
          Returns the broadcasted array of shape 'shape'
  
      Examples
      --------
      With :class:`ivy.Array` instance method:
  
      >>> x = ivy.array([1, 2, 3])
      >>> y = x.broadcast_to((3,3))
      >>> print(y)
      ivy.array([[1, 2, 3],
                 [1, 2, 3],
                 [1, 2, 3]])
      """
      return ivy.broadcast_to(self._data, shape=shape, out=out)
  
file_path: ivy/ivy/data_classes/array/data_type.py
imports: import abc
  from typing import Tuple, Optional, List, Union
  import ivy
label_desc: Use image node_id 3 for calling the _ArrayWithDataTypes obj's underlying member method code with example usage: obj.broadcast_to(shape) and returns: ivy