code: def _measure_time(func, n_iterations=30):
      times = []
      for _ in range(n_iterations):
          start = time.perf_counter()
          func()
          stop = time.perf_counter()
          times.append(stop - start)
      return np.mean(np.array(times))
  
imports: import cv2
  import numpy
  import nvidia.dali
  import nvidia.dali.fn
  import os.path
  import unittest
  import time
  from nose2.tools import params
  from nvidia.dali.pipeline.experimental import pipeline_def
  from nvidia.dali.types import DALIInterpType
label_desc: Use image node_id 6 for calling the RemapTest obj's underlying member method code with example usage: obj._measure_time(func, n_iterations) and returns: np