parameters: (self, eval_fn, export_fn, model_dir)
docstring: Initializes an `EvalAndExportListener`.
  
      Args:
        eval_fn: function which evaluates the model with the following signature:
          `(name, checkpoint_path) -> eval_result`
        export_fn: function which exports the model according to a set of export
          strategies. Has the following signature:
          `(eval_result, checkpoint_path) -> export_results`
        model_dir: directory which contains estimator parameters and checkpoints.
docstring_summary: Initializes an `EvalAndExportListener`.
docstring_tokens: Initializes an EvalAndExportListener .
function: def __init__(self, eval_fn, export_fn, model_dir):
      """Initializes an `EvalAndExportListener`.
  
      Args:
        eval_fn: function which evaluates the model with the following signature:
          `(name, checkpoint_path) -> eval_result`
        export_fn: function which exports the model according to a set of export
          strategies. Has the following signature:
          `(eval_result, checkpoint_path) -> export_results`
        model_dir: directory which contains estimator parameters and checkpoints.
      """
      self._eval_fn = eval_fn
      self._export_fn = export_fn
      self._model_dir = model_dir
      self._latest_path = None
      self._eval_result = None
      self._export_results = None
function_tokens: def __init__ ( self , eval_fn , export_fn , model_dir ) : self . _eval_fn = eval_fn self . _export_fn = export_fn self . _model_dir = model_dir self . _latest_path = None self . _eval_result = None self . _export_results = None