code: def test_out_of_range():
      for device in ["cpu", "gpu"]:
          for idx in [-3, 2]:
              yield _test_out_of_range, device, idx
  
imports: from nvidia import dali
  from nvidia.dali import fn
  import numpy
  from nvidia.dali.pipeline import Pipeline
  from nose_utils import assert_raises
label_desc: Use image node_id 14 for calling a global function with example usage: test_out_of_range() without return types