code: def test_reduce_negative_axes():
      reductions = ["sum", "max"]
      type = np.uint8
  
      for layout in ["FGH", None]:
          for keep_dims in [False, True]:
              for reduction_name in reductions:
                  yield run_reduce, keep_dims, reduction_name, Batch3DNegativeAxes, type, None, layout
  
imports: import nvidia.dali.fn
  from nvidia.dali.pipeline import Pipeline
  from nose.tools import nottest
  import numpy
  from test_utils import np_type_to_dali
  from nose_utils import assert_raises
label_desc: Use image node_id 10 for calling a global function with example usage: test_reduce_negative_axes() without return types