code: def test_different_num_shapes_dtypes():
      batch_size = 12
      num_threads = 4
  
      dataset_pipe, shapes, dtypes = get_image_pipeline(
          batch_size, num_threads, "cpu"
      )
      dtypes = tuple(dtypes[0:2])
  
      with tf.device("/cpu:0"):
          dali_tf.DALIDataset(
              pipeline=dataset_pipe,
              batch_size=batch_size,
              output_shapes=shapes,
              output_dtypes=dtypes,
              num_threads=num_threads,
          )
  
file_path: DALI/dali/test/python/test_dali_tf_dataset.py
imports: import tensorflow
  import numpy
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.fn
  import nvidia.dali.plugin.tf
  from nose_utils import raises
  from test_utils_tensorflow import get_image_pipeline
label_desc: Use image node_id 1 for calling a global function with example usage: test_different_num_shapes_dtypes() without return types