code: def test_iter_setup():
      for use_fn_api in [False, True]:
          for by_name in [False, True]:
              for device in ["cpu", "gpu"]:
                  yield _test_iter_setup, use_fn_api, by_name, 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 8 for calling a global function with example usage: test_iter_setup() without return types