code: def test_index_table_from_dataset(self):
      ds = dataset_ops.Dataset.range(100).map(
          lambda x: string_ops.as_string(x * 2)
      )
      table = lookup_ops.index_table_from_dataset(
          ds, key_dtype=dtypes.int64
      )
      output = table.lookup(
          constant_op.constant(["0", "2", "4"], dtype=dtypes.string)
      )
      self.evaluate(core_lookup_ops.tables_initializer())
      result = self.evaluate(output)
      self.assertAllEqual([0, 1, 2], result)
  
imports: import os
  from tensorflow.python import tf2
  from tensorflow.python.data.experimental.ops import lookup_ops
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import readers
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import lookup_ops
  from tensorflow.python.ops import string_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 11 for calling the DatasetInitializerTest obj's underlying member method code with example usage: obj.test_index_table_from_dataset() without return types