code: def lookup_func(image, dictionary, default_value):
      arr = [default_value for k in range(0x1000)]
      for k in dictionary.keys():
          arr[k] = dictionary[k]
      lut = np.array(arr)
      return lut[image]
  
imports: import numpy
  import random
  from nvidia.dali import fn, types, ops, pipeline_def
  from nvidia.dali.pipeline import Pipeline
  from test_utils import RandomlyShapedDataIterator
  from test_utils import compare_pipelines
  from nose2.tools import params
label_desc: Use image node_id 1 for calling a global function with example usage: lookup_func(image, dictionary, default_value) and returns: lut