docstr: ivy.Array instance method variant of ivy.reshape. This method simply
  wraps the function, and so the docstring for ivy.reshape also applies
  to this method with minimal changes.
  
  Parameters
  ----------
  self
      input array.
  shape
      The new shape should be compatible with the original shape.
      One shape dimension can be -1. In this case, the value is
      inferred from the length of the array and remaining dimensions.
  copy
      boolean indicating whether or not to copy the input array.
      If True, the function must always copy.
      If False, the function must never copy.
      In case copy is False we avoid copying by returning
       a view of the input array.
  order
      Read the elements of the input array using this index order,
      and place the elements into the reshaped array using this index order.
      ‘C’ means to read / write the elements using C-like index order,
      with the last axis index changing fastest, back to the first axis index
      changing slowest.
      ‘F’ means to read / write the elements using Fortran-like index order, with
      the first index changing fastest, and the last index changing slowest.
      Note that the ‘C’ and ‘F’ options take no account of the memory layout
      of the underlying array, and only refer to the order of indexing.
      Default order is 'C'
  out
      optional output array, for writing the result to. It must have a shape that
      the inputs broadcast to.
  
  Returns
  -------
  ret
      an output array having the same data type as ``self``
      and  elements as ``self``.
  
  Examples
  --------
  >>> x = ivy.array([[0., 1., 2.],[3., 4., 5.]])
  >>> y = x.reshape((3,2))
  >>> print(y)
  ivy.array([[0., 1.],
             [2., 3.],
             [4., 5.]])
  
  >>> x = ivy.array([[0., 1., 2.],[3., 4., 5.]])
  >>> y = x.reshape((3,2), order='F')
  >>> print(y)
  ivy.array([[0., 4.],
             [3., 2.],
             [1., 5.]])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.reshape",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.reshape","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array",".","shape","The","new","shape","should","be","compatible","with","the","original","shape",".","One","shape","dimension","can","be","-1",".","In","this","case",",","the","value","is","inferred","from","the","length","of","the","array","and","remaining","dimensions",".","copy","boolean","indicating","whether","or","not","to","copy","the","input","array",".","If","True",",","the","function","must","always","copy",".","If","False",",","the","function","must","never","copy",".","In","case","copy","is","False","we","avoid","copying","by","returning","a","view","of","the","input","array",".","order","Read","the","elements","of","the","input","array","using","this","index","order",",","and","place","the","elements","into","the","reshaped","array","using","this","index","order",".","\u2018","C","\u2019","means","to","read","\/","write","the","elements","using","C-like","index","order",",","with","the","last","axis","index","changing","fastest",",","back","to","the","first","axis","index","changing","slowest",".","\u2018","F","\u2019","means","to","read","\/","write","the","elements","using","Fortran-like","index","order",",","with","the","first","index","changing","fastest",",","and","the","last","index","changing","slowest",".","Note","that","the","\u2018","C","\u2019","and","\u2018","F","\u2019","options","take","no","account","of","the","memory","layout","of","the","underlying","array",",","and","only","refer","to","the","order","of","indexing",".","Default","order","is","'","C'","out","optional","output","array",",","for","writing","the","result","to",".","It","must","have","a","shape","that","the","inputs","broadcast","to",".","Returns","--","--","--","-","ret","an","output","array","having","the","same","data","type","as","``","self","``","and","elements","as","``","self","``",".","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","[","0.",",","1.",",","2",".","]",",","[","3.",",","4.",",","5",".","]","]",")",">",">",">","y","=","x.reshape","(","(","3,2",")",")",">",">",">","print","(","y",")","ivy.array","(","[","[","0.",",","1",".","]",",","[","2.",",","3",".","]",",","[","4.",",","5",".","]","]",")",">",">",">","x","=","ivy.array","(","[","[","0.",",","1.",",","2",".","]",",","[","3.",",","4.",",","5",".","]","]",")",">",">",">","y","=","x.reshape","(","(","3,2",")",",","order=","'","F","'",")",">",">",">","print","(","y",")","ivy.array","(","[","[","0.",",","4",".","]",",","[","3.",",","2",".","]",",","[","1.",",","5",".","]","]",")"]
code: def reshape(
      self: ivy.Array,
      /,
      shape: Union[ivy.Shape, ivy.NativeShape, Sequence[int]],
      *,
      copy: Optional[bool] = None,
      order: str = "C",
      allowzero: bool = True,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.reshape. This method simply
      wraps the function, and so the docstring for ivy.reshape also applies
      to this method with minimal changes.
  
      Parameters
      ----------
      self
          input array.
      shape
          The new shape should be compatible with the original shape.
          One shape dimension can be -1. In this case, the value is
          inferred from the length of the array and remaining dimensions.
      copy
          boolean indicating whether or not to copy the input array.
          If True, the function must always copy.
          If False, the function must never copy.
          In case copy is False we avoid copying by returning
           a view of the input array.
      order
          Read the elements of the input array using this index order,
          and place the elements into the reshaped array using this index order.
          ‘C’ means to read / write the elements using C-like index order,
          with the last axis index changing fastest, back to the first axis index
          changing slowest.
          ‘F’ means to read / write the elements using Fortran-like index order, with
          the first index changing fastest, and the last index changing slowest.
          Note that the ‘C’ and ‘F’ options take no account of the memory layout
          of the underlying array, and only refer to the order of indexing.
          Default order is 'C'
      out
          optional output array, for writing the result to. It must have a shape that
          the inputs broadcast to.
  
      Returns
      -------
      ret
          an output array having the same data type as ``self``
          and  elements as ``self``.
  
      Examples
      --------
      >>> x = ivy.array([[0., 1., 2.],[3., 4., 5.]])
      >>> y = x.reshape((3,2))
      >>> print(y)
      ivy.array([[0., 1.],
                 [2., 3.],
                 [4., 5.]])
  
      >>> x = ivy.array([[0., 1., 2.],[3., 4., 5.]])
      >>> y = x.reshape((3,2), order='F')
      >>> print(y)
      ivy.array([[0., 4.],
                 [3., 2.],
                 [1., 5.]])
      """
      return ivy.reshape(
          self._data,
          shape,
          copy=copy,
          allowzero=allowzero,
          out=out,
          order=order,
      )
  
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 6 for calling the _ArrayWithManipulation obj's underlying member method code with example usage: obj.reshape(shape) and returns: ivy