code: def test_too_many_indices():
      for device in ["cpu", "gpu"]:
          yield _test_too_many_indices, device
  
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 17 for calling a global function with example usage: test_too_many_indices() without return types