code: def compare(val_1, val_2, reference=None):
      test = np.allclose(val_1, val_2)
      if reference is not None:
          test = test and np.allclose(val_1, reference)
          test = test and np.allclose(val_2, reference)
  
      return test
  
imports: import argparse
  import os
  from math import ceil, sqrt
  import numpy
  import nvidia.dali.ops
  import nvidia.dali.types
  from nvidia.dali.pipeline import Pipeline
  from test_utils import get_dali_extra_path
  from test_utils import to_array
label_desc: Use image node_id 7 for calling a global function with example usage: compare(val_1, val_2, reference) and returns: test