code: def run_tf_with_dali_external_source(dev, es_args, ed_dev, dtype, *_):
      run_tf_dataset_graph(
          dev,
          get_pipeline_desc=get_external_source_pipe(
              es_args, dtype, ed_dev
          ),
          to_dataset=external_source_to_tf_dataset,
          to_stop_iter=True,
      )
  
imports: import itertools
  import numpy
  import random
  import tensorflow
  from nose.tools import with_setup
  from nose_utils import raises
  from test_dali_tf_dataset_pipelines import FixedSampleIterator, external_source_tester, external_source_converter_with_fixed_value, external_source_converter_with_callback, RandomSampleIterator, external_source_converter_multiple, get_min_shape_helper, external_source_tester_multiple
  from test_dali_tf_es_pipelines import external_source_to_tf_dataset, gen_tf_with_dali_external_source, get_external_source_pipe
  from test_utils_tensorflow import run_tf_dataset_graph, skip_inputs_for_incompatible_tf, run_dataset_in_graph, run_tf_dataset_multigpu_graph_manual_placement, get_dali_dataset_from_pipeline, get_image_pipeline
label_desc: Use image node_id 15 for calling a global function with example usage: run_tf_with_dali_external_source(dev, es_args, ed_dev, dtype) without return types