A class representing a type of model export.
A directory name under the export base directory where exports of this type are written. Should not be
None nor empty.
export( estimator, export_path, checkpoint_path, eval_result, is_the_final_export )
Exports the given
Estimator to a specific format.
export_path: A string containing a directory where to write the export.
checkpoint_path: The checkpoint path to export.
eval_result: The output of
Estimator.evaluateon this checkpoint.
is_the_final_export: This boolean is True when this is an export in the end of training. It is False for the intermediate exports during the training. When passing
is_the_final_exportis always False if
The string path to the exported directory or
None if export is skipped.
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.