class_docstr: Task class for text Match.
class_docstr_tok: ["Task","class","for","text","Match","."]
docstr: Inputs for exported model.
docstr_tok: ["Inputs","for","exported","model","."]
code: def export_inputs(self):
      """Inputs for exported model."""
      vocab_dict = load_vocab_dict(self.text_vocab_file_path)
      vocab_size = len(vocab_dict)
      self.config["data"]["vocab_size"] = vocab_size
  
      input_sent_left = tf.placeholder(
          shape=(None,), dtype=tf.string, name="input_sent_left"
      )
      input_sent_right = tf.placeholder(
          shape=(None,), dtype=tf.string, name="input_sent_right"
      )
      input_pipeline_func = self.get_input_pipeline(for_export=True)
  
      token_ids_left = input_pipeline_func(input_sent_left)
      token_ids_right = input_pipeline_func(input_sent_right)
      token_ids_len_left = tf.map_fn(
          lambda x: compute_sen_lens(x, padding_token=0), token_ids_left
      )
      token_ids_len_right = tf.map_fn(
          lambda x: compute_sen_lens(x, padding_token=0),
          token_ids_right,
      )
  
      export_data = {
          "export_inputs": {
              "input_sent_left": input_sent_left,
              "input_sent_right": input_sent_right,
          },
          "model_inputs": {
              "input_x_left": token_ids_left,
              "input_x_right": token_ids_right,
              "input_x_left_len": token_ids_len_left,
              "input_x_right_len": token_ids_len_right,
              "input_x_len": [token_ids_len_left, token_ids_len_right],
          },
      }
      return export_data
  
file_path: delta/delta/data/task/text_match_task.py
imports: import collections
  from absl import logging
  import delta.compat
  from delta.data.task.base_text_task import TextTask
  from delta.data.utils.common_utils import get_file_len
  from delta.data.preprocess.text_ops import load_textline_dataset
  from delta.data.preprocess.utils import load_vocab_dict
  from delta.data.preprocess.text_ops import process_one_label_dataset
  from delta.utils.register import registers
  from delta.layers.utils import compute_sen_lens
  from delta import utils
label_desc: Use image node_id 4 for calling the TextMatchTask obj's underlying member method code with example usage: obj.export_inputs() and returns: export_data