code: def check_reshape_with_arg_input(
      device, batch_size, relative, use_wildcard
  ):
      pipe = ReshapeWithArgInput(
          device, batch_size, relative, use_wildcard
      )
      pipe.build()
      for iter in range(2):
          imgs, reshaped = pipe.run()
          if device == "gpu":
              imgs = imgs.as_cpu()
              reshaped = reshaped.as_cpu()
          verify_make_tall(imgs, reshaped)
  
imports: from nvidia.dali.pipeline import Pipeline
  from nvidia.dali import pipeline_def
  import nvidia.dali.fn
  import nvidia.dali.ops
  import nvidia.dali.types
  import numpy
  from numpy.testing import assert_array_equal
  import os
  from nose_utils import assert_raises
  from nose2.tools import params
label_desc: Use image node_id 9 for calling a global function with example usage: check_reshape_with_arg_input(device, batch_size, relative, use_wildcard) without return types