code: def test_io_tensor_meta_in_dataset(fixture_lookup, io_tensor_fixture):
      """test_io_tensor_slice"""
      args, func, expected, equal = fixture_lookup(io_tensor_fixture)
  
      # Note: @tf.function is actually not needed, as tf.data.Dataset
      # will automatically wrap the `func` into a graph anyway.
      # The following is purely for explanation purposes.
      @tf.function
      def f(e):
          return func(e)
  
      dataset = tf.data.Dataset.from_tensor_slices([args, args])
      dataset = dataset.map(f)
  
      item = 0
      for meta in dataset:
          assert equal(meta, expected)
          item += 1
      assert item == 2
  
imports: import os
  import shutil
  import tempfile
  import numpy
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 25 for calling a global function with example usage: test_io_tensor_meta_in_dataset(fixture_lookup, io_tensor_fixture) and returns: func