tf.estimator.FinalExporter

View source on GitHub

This class exports the serving graph and checkpoints at the end.

Inherits From: Exporter

tf.estimator.FinalExporter(
    name, serving_input_receiver_fn, assets_extra=None, as_text=False
)

This class performs a single export at the end of training.

Args:

Attributes:

Raises:

Methods

export

View source

export(
    estimator, export_path, checkpoint_path, eval_result, is_the_final_export
)

Exports the given Estimator to a specific format.

Args:

Returns:

The string path to the exported directory or None if export is skipped.