code: def test_dicom_image_shape():
      """test_decode_dicom_image"""
  
      dcm_path = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          "test_dicom",
          "US-PAL-8-10x-echo.dcm",
      )
  
      dataset = tf.data.Dataset.from_tensor_slices([dcm_path])
      dataset = dataset.map(tf.io.read_file)
      dataset = dataset.map(
          lambda e: tfio.image.decode_dicom_image(e, dtype=tf.uint16)
      )
      dataset = dataset.map(lambda e: tf.image.resize(e, (224, 224)))
  
file_path: io/tests/test_dicom.py
imports: import os
  import numpy
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 4 for calling a global function with example usage: test_dicom_image_shape() without return types