code: def reshape(
      x: np.ndarray,
      /,
      shape: Union[ivy.NativeShape, Sequence[int]],
      *,
      copy: Optional[bool] = None,
      order: str = "C",
      allowzero: bool = True,
      out: Optional[np.ndarray] = None,
  ) -> np.ndarray:
      ivy.utils.assertions.check_elem_in_list(order, ["C", "F"])
      if not allowzero:
          shape = [
              new_s if con else old_s
              for new_s, con, old_s in zip(
                  shape, np.array(shape) != 0, x.shape
              )
          ]
      return np.reshape(x, shape, order=order)
  
imports: import math
  from numbers import Number
  from typing import Union, Tuple, Optional, List, Sequence
  import numpy
  import ivy
  from ivy.func_wrapper import with_unsupported_dtypes
  from .None import backend_version
label_desc: Use image node_id 6 for calling a global function with example usage: reshape(shape) and returns: np