code: def test_inconsistent_args():
      for device in ["cpu", "gpu"]:
          for args, message in [
              ({"lo_0": 0, "at_0": 0}, "both as an index"),
              ({"at_0": 0, "step_0": 1}, "cannot have a step"),
          ]:
              yield _test_invalid_args, device, args, message, False
  
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 12 for calling a global function with example usage: test_inconsistent_args() without return types