code: def numpy_flip(data, h_dim, v_dim, d_dim, hor, ver, depth):
      if h_dim >= 0 and hor:
          data = np.flip(data, h_dim)
      if v_dim >= 0 and ver:
          data = np.flip(data, v_dim)
      if d_dim >= 0 and depth:
          data = np.flip(data, d_dim)
      return data
  
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.types
  import numpy
  import os
  from test_utils import compare_pipelines
  from test_utils import RandomDataIterator
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 1 for calling a global function with example usage: numpy_flip(data, h_dim, v_dim, d_dim, hor, ver, depth) and returns: data