code: def test_tfrecord_reader_alias2():
      tfrecord = os.path.join(
          get_dali_extra_path(), "db", "tfrecord", "train"
      )
      tfrecord_idx = os.path.join(
          get_dali_extra_path(), "db", "tfrecord", "train.idx"
      )
      pipe = tfrecord_pipe_empty_fields(tfrecord, tfrecord_idx)
      pipe.build()
      out = pipe.run()
      for tensor in out[0]:
          data = np.array(tensor)
          assert len(data) != 0
          assert data.dtype == np.uint8
      for tensor in out[1]:
          data = np.array(tensor)
          assert len(data.shape) == 0
          assert data.dtype == np.int64
      for tensor in out[2]:
          data = np.array(tensor)
          assert len(data.shape) == 0
          assert data.dtype == np.float32
  
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 12 for calling a global function with example usage: test_tfrecord_reader_alias2() without return types