code: def lookup_table(input, embedding_table, dtype="float32"):
      """
      lookup table support for paddle.
      :param input:
      :param embedding_table:
      :param dtype:
      :return:
      """
      is_sparse = False
      is_distributed = False
      helper = LayerHelper("embedding", **locals())
      remote_prefetch = is_sparse and (not is_distributed)
      if remote_prefetch:
          assert is_sparse is True and is_distributed is False
      tmp = helper.create_variable_for_type_inference(dtype)
      padding_idx = -1
      helper.append_op(
          type="lookup_table",
          inputs={"Ids": input, "W": embedding_table},
          outputs={"Out": tmp},
          attrs={
              "is_sparse": is_sparse,
              "is_distributed": is_distributed,
              "remote_prefetch": remote_prefetch,
              "padding_idx": padding_idx,
          },
      )
      return tmp
  
imports: import paddle.fluid
  from paddle.fluid.layer_helper import LayerHelper
label_desc: Use image node_id 1 for calling a global function with example usage: lookup_table(input, embedding_table, dtype) and returns: tmp