code: def test_external_source_iter_split():
      for use_fn_api in [False, True]:
          for device in ["cpu", "gpu"]:
              yield _test_external_source_iter_split, use_fn_api, device
  
imports: import functools
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.ops
  from nvidia.dali import Pipeline
  from nose_utils import assert_raises
  from test_utils import check_output
label_desc: Use image node_id 16 for calling a global function with example usage: test_external_source_iter_split() without return types