code: def test_trailing_wildcard(rel_shape):
      shapes = [[480, 640], [320, 240]]
      pipe = reshape_pipe(
          batch_size=len(shapes),
          num_threads=1,
          device_id=0,
          shapes=shapes,
          rel_shape=rel_shape,
      )
      pipe.build()
      (out,) = pipe.run()
      assert out[0].shape() == [480, 640, 1]
      assert out[1].shape() == [320, 240, 1]
  
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 22 for calling a global function with example usage: test_trailing_wildcard(rel_shape) without return types