code: def _test_squeeze_throw_error(axes, axis_names, layout, shapes):
      pipe = squeeze_pipe(
          batch_size=len(shapes),
          num_threads=1,
          device_id=0,
          shapes=shapes,
          axes=axes,
          axis_names=axis_names,
          layout=layout,
      )
      pipe.build()
      pipe.run()
  
file_path: DALI/dali/test/python/operator_2/test_squeeze.py
imports: import numpy
  import nvidia.dali.fn
  from nvidia.dali import pipeline_def
  from nose_utils import raises
label_desc: Use image node_id 5 for calling a global function with example usage: _test_squeeze_throw_error(axes, axis_names, layout, shapes) without return types