code: def test_invalid_args():
      pipeline = Pipeline(batch_size=2, num_threads=4, device_id=0)
      with pipeline:
          _, _, _, ids = fn.readers.coco(
              file_root=file_root,
              annotations_file=train_annotations,
              image_ids=True,
              images=images,
              preprocessed_annotations_dir="/tmp",
          )
          pipeline.set_outputs(ids)
      pipeline.build()
  
imports: import numpy
  import nvidia.dali.fn
  import os
  import tempfile
  import json
  from nvidia.dali import Pipeline, pipeline_def
  from nose_utils import raises
  from nose2.tools import params
  from test_utils import compare_pipelines, get_dali_extra_path
label_desc: Use image node_id 5 for calling a global function with example usage: test_invalid_args() without return types