code: def test_zero_dim_not_allowed():
      expected_msg = "Cannot mark zero-dimensional input as a sequence"
      for device in ["cpu", "gpu"]:
          yield raises(RuntimeError, expected_msg)(
              run_pipeline
          ), device, 0
  
file_path: DALI/dali/test/python/operator_1/test_per_frame.py
imports: import numpy
  from nvidia.dali import pipeline_def
  import nvidia.dali.fn
  from test_utils import check_batch
  from nose_utils import raises
label_desc: Use image node_id 6 for calling a global function with example usage: test_zero_dim_not_allowed() without return types