class_docstr: This class exports the EvalSavedModel in the end.
  
  This class performs a single export in the end of training.
class_docstr_tok: ["This","class","exports","the","EvalSavedModel","in","the","end",".","This","class","performs","a","single","export","in","the","end","of","training","."]
code: def export(
      self,
      estimator: tf_estimator.Estimator,
      export_path: str,
      checkpoint_path: Optional[str],
      eval_result: Optional[bytes],
      is_the_final_export: bool,
  ) -> Optional[bytes]:
      if not is_the_final_export:
          return None
  
      tf_logging.info(
          "Performing the final export in the end of training."
      )
  
      return self._eval_saved_model_exporter.export(
          estimator,
          export_path,
          checkpoint_path,
          eval_result,
          is_the_final_export,
      )
  
imports: from collections import abc
  import contextlib
  import os
  import types
  from typing import Callable, Dict, List, Optional, Union
  from tensorflow import estimator
  from tensorflow_model_analysis.eval_saved_model import export
  from tensorflow_model_analysis.utils import util
  from tensorflow.python.estimator import gc
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 3 for calling the FinalExporter obj's underlying member method code with example usage: obj.export(estimator, export_path, checkpoint_path, eval_result, is_the_final_export) and returns: self, None