code: def reshape(x, IMG_SIZE: Tuple[int, int], channels: int):
      _check_target_size(IMG_SIZE)
  
      width, height = IMG_SIZE[:2]
      return np.array(x).reshape(-1, width, height, channels)
  
file_path: caer/caer/preprocess.py
imports: import os
  import random
  import time
  import numpy
  from .io import imread
  from ._internal import _check_target_size
  from .path import join, list_images
  from .color import to_gray
  from .annotations import Optional, List, Tuple
label_desc: Use image node_id 4 for calling a global function with example usage: reshape(x, IMG_SIZE, channels) and returns: np