code: def decode_and_resize_image(raw_bytes, size):
      """
      Read, decode and resize raw image bytes (e.g. raw content of a jpeg file).
  
      :param raw_bytes: Image bits, e.g. jpeg image.
      :param size: requested output dimensions
      :return: Multidimensional numpy array representing the resized image.
      """
      return np.asarray(
          Image.open(BytesIO(raw_bytes)).resize(size), dtype=np.float32
      )
  
imports: import base64
  import os
  from io import BytesIO
  from typing import Any, Dict, Optional
  import keras
  import numpy
  import pandas
  import PIL
  import pip
  import tensorflow
  import yaml
  from PIL import Image
  import mlflow
  from mlflow.utils import PYTHON_VERSION
  from mlflow.utils.file_utils import TempDir
label_desc: Use image node_id 1 for calling a global function with example usage: decode_and_resize_image(raw_bytes, size) and returns: np