code: def _reshape(
      a, newshape, order="C", tensor_order=None, out_shape=None
  ):
      if tensor_order is None:
          tensor_order = get_order(
              order, a.order, available_options="CFA"
          )
      op = TensorReshape(
          newshape,
          order,
          dtype=a.dtype,
          create_view=tensor_order == a.order,
      )
      if out_shape is None:
          out_shape = newshape
      return op(a, tensor_order, out_shape)
  
imports: import itertools
  import logging
  import numpy
  from ...None import opcodes
  from ...core import recursive_tile
  from ...core.operand import OperandStage
  from ...serialization.serializables import FieldTypes, KeyField, TupleField, StringField
  from ...utils import has_unknown_shape
  from ..array_utils import as_same_device, device
  from ..datasource import tensor
  from ..operands import TensorOperandMixin, TensorMapReduceOperand, TensorShuffleProxy
  from ..utils import get_order, decide_chunk_sizes
label_desc: Use image node_id 3 for calling a global function with example usage: _reshape(a, newshape, order, tensor_order, out_shape) and returns: op