code: def test_tfrecord_reader_alias():
      tfrecord = os.path.join(
          get_dali_extra_path(), "db", "tfrecord", "train"
      )
      tfrecord_idx = os.path.join(
          get_dali_extra_path(), "db", "tfrecord", "train.idx"
      )
      new_pipe = tfrecord_pipe(
          fn.readers.tfrecord, tfrecord, tfrecord_idx
      )
      legacy_pipe = tfrecord_pipe(
          fn.tfrecord_reader, tfrecord, tfrecord_idx
      )
      compare_pipelines(
          new_pipe, legacy_pipe, batch_size_alias_test, 50
      )
  
imports: from nvidia.dali import Pipeline, pipeline_def
  import nvidia.dali.ops
  import nvidia.dali.fn
  import nvidia.dali.types
  import nvidia.dali.tfrecord
  import os.path
  import tempfile
  import numpy
  from test_utils import compare_pipelines, get_dali_extra_path
  from nose_utils import assert_raises
  from nose2.tools import cartesian_params
  from nose import SkipTest
label_desc: Use image node_id 10 for calling a global function with example usage: test_tfrecord_reader_alias() without return types