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
      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
  
imports: import re
  import math
  import numpy
  import delta.compat
  from absl import logging
  from delta.utils.solver.base_solver import Solver
  from delta import utils
  from delta.utils.register import registers
  from delta.utils.solver.utils.solver_utils import get_checkpoint_dir
  from delta.utils.solver.utils.solver_utils import get_ckpt_state
  from delta.utils.solver.utils.solver_utils import get_session_conf
  from delta.utils.solver.utils.solver_utils import to_saved_model
  from delta.utils.solver.utils.solver_utils import run_metrics
label_desc: Use image node_id 10 for calling the RawSolver obj's underlying member method code with example usage: obj.build_export_model() and returns: model