code: def test_operator_coord_flip():
      for device in ["cpu", "gpu"]:
          for batch_size in [1, 3]:
              layout_shape_values = [
                  ("x", (10, 1)),
                  ("xy", (10, 2)),
                  ("xyz", (10, 3)),
              ]
              if device == "cpu":
                  layout_shape_values.append(("xy", (0, 2)))
              for layout, shape in layout_shape_values:
                  for center_x, center_y, center_z in [
                      (0.5, 0.5, 0.5),
                      (0.0, 1.0, -0.5),
                  ]:
                      yield (
                          check_operator_coord_flip,
                          device,
                          batch_size,
                          layout,
                          shape,
                          center_x,
                          center_y,
                          center_z,
                      )
  
file_path: DALI/dali/test/python/operator_1/test_coord_flip.py
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.fn
  import numpy
  from test_utils import RandomDataIterator
label_desc: Use image node_id 2 for calling a global function with example usage: test_operator_coord_flip() without return types