code: def get_img_shape(img: tf.Tensor) -> Tuple[int, int]:
      """Get the shape of an image"""
      return img.shape[:2]
  
file_path: doctr/doctr/io/image/tensorflow.py
imports: from typing import Tuple
  import numpy
  import tensorflow
  from PIL import Image
  from tensorflow.keras.utils import img_to_array
  from doctr.utils.common_types import AbstractPath
label_desc: Use image node_id 5 for calling a global function with example usage: get_img_shape(img) and returns: img