code: def read_tiff(filename: PathLike) -> np.ndarray:
      filename = as_path(filename)
      img = imageio.imread(filename.read_bytes(), format="tiff")
      if img.ndim == 2:
          img = img[:, :, None]
      return img
  
imports: import dataclasses
  import json
  import logging
  import imageio
  import numpy
  import png
  import tensorflow
  import tensorflow_datasets.public_api
  from typing import List, Dict, Union
label_desc: Use image node_id 15 for calling a global function with example usage: read_tiff(filename) and returns: img