code: def _test_reinterpret_wildcard_shape(device):
      np.random.seed(31337)
      batch_size = 4
      pipe = ReinterpretPipelineWildcardDim(device, batch_size)
      pipe.build()
      pipe_outs = pipe.run()
      in_batch = (
          pipe_outs[0].as_cpu() if device == "gpu" else pipe_outs[0]
      )
      out_batch = (
          pipe_outs[1].as_cpu() if device == "gpu" else pipe_outs[1]
      )
      for i in range(batch_size):
          ref = in_batch.at(i).view(dtype=np.int32).reshape([20, 2])
          out = out_batch.at(i)
          assert_array_equal(ref, out)
  
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 15 for calling a global function with example usage: _test_reinterpret_wildcard_shape(device) without return types