code: def check_numpy_reader_alias(test_data_root, device):
      new_pipe = numpy_reader_pipe(
          fn.readers.numpy,
          path=test_data_root,
          device=device,
          file_filter="test_*.npy",
      )
      legacy_pipe = numpy_reader_pipe(
          fn.numpy_reader,
          path=test_data_root,
          device=device,
          file_filter="test_*.npy",
      )
      try:
          compare_pipelines(
              new_pipe, legacy_pipe, batch_size_alias_test, 50
          )
      finally:
          del new_pipe
          del legacy_pipe
  
imports: from nvidia.dali import Pipeline, pipeline_def
  import nvidia.dali.fn
  import nvidia.dali.types
  import nvidia.dali.backend
  import numpy
  from numpy.testing import assert_array_equal
  import os
  import platform
  import random
  import tempfile
  from nose_utils import assert_raises
  from nose import SkipTest
  from nose2.tools import params, cartesian_params
  from test_utils import compare_pipelines, to_array
label_desc: Use image node_id 18 for calling a global function with example usage: check_numpy_reader_alias(test_data_root, device) without return types