code: def caffe_pipe(caffe_op, path):
      data, label = caffe_op(path=path)
      return data, label
  
imports: from nvidia.dali import Pipeline, pipeline_def
  import nvidia.dali.ops
  import nvidia.dali.fn
  import nvidia.dali.types
  from numpy.testing import assert_array_equal
  import os
  from test_utils import compare_pipelines
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 3 for calling a global function with example usage: caffe_pipe(caffe_op, path) and returns: data,  label