code: def resize(image, size: (int, int), interpolation=cv2.INTER_CUBIC):
      """Resize the given image.
      :param image: a numpy array with shape (height, width, channels).
      :param size: (width, height) to resize the image to.
      :param interpolation: Default: cv2.INTER_CUBIC.
      :return: the reshaped image.
      """
      return cv2.resize(image, dsize=size, interpolation=interpolation)
  
imports: import os
  import cv2
  import math
  import random
  import numpy
  import carla
  import pygame
  import threading
  import datetime
  from typing import Union
  from tensorforce.agents import Agent
label_desc: Use image node_id 13 for calling a global function with example usage: resize(image, size, interpolation) and returns: cv2