code: def test_remap(self, map_mode):
      maps = [
          update_map(
              mode=map_mode,
              shape=self.img_size,
              nimages=self.batch_size,
          )
      ]
      dpipe = remap_pipe(
          "dali", maps, self.img_size, **self.common_dali_pipe_params
      )
      cpipe = remap_pipe(
          "cv",
          maps,
          self.img_size,
          exec_async=False,
          exec_pipelined=False,
          **self.common_dali_pipe_params,
      )
      self._compare_pipelines_pixelwise(
          dpipe, cpipe, N_iterations=2, eps=0.01
      )
  
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 2 for calling the RemapTest obj's underlying member method code with example usage: obj.test_remap(map_mode) without return types