class_docstr: Solver for raw tensorflow model.
class_docstr_tok: ["Solver","for","raw","tensorflow","model","."]
docstr: Build the model for export.
docstr_tok: ["Build","the","model","for","export","."]
code: def build_export_model(self):
      """Build the model for export."""
      mode = utils.INFER
      self.config["model"]["is_infer"] = mode == utils.INFER
      export_inputs = self.export_input(mode)
  
      model = self.model_fn()
      training = mode == utils.TRAIN
      model.logits = model(
          export_inputs["model_inputs"], training=training
      )
      model.model_inputs = export_inputs["model_inputs"]
      model.export_inputs = export_inputs["export_inputs"]
      model.input_x_len = export_inputs["model_inputs"]["input_x_len"]
      # output related
      self.build_export_output(model)
      return model
  
file_path: delta/delta/utils/solver/raw_seq2seq_solver.py
imports: import math
  import numpy
  import delta.compat
  from absl import logging
  from delta import utils
  from delta.utils import metrics
  from delta.utils.register import registers
  from delta.utils.solver.raw_solver import RawSolver
label_desc: Use image node_id 4 for calling the RawS2SSolver obj's underlying member method code with example usage: obj.build_export_model() and returns: model