Skip to content

Commit

Permalink
Fix the documentation for the return type of model export functions.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 296307536
  • Loading branch information
tensorflower-gardener committed Feb 20, 2020
1 parent 3c23022 commit 6f0b3e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tensorflow_estimator/python/estimator/estimator.py
Expand Up @@ -706,7 +706,7 @@ def export_saved_model(self,
be exported. Note that this feature is experimental.
Returns:
The string path to the exported directory.
The path to the exported directory as a bytes object.
Raises:
ValueError: if no `serving_input_receiver_fn` is provided, no
Expand Down Expand Up @@ -790,7 +790,7 @@ def experimental_export_all_saved_models(self,
the most recent checkpoint found within the model directory is chosen.
Returns:
The string path to the exported directory.
The path to the exported directory as a bytes object.
Raises:
ValueError: if any `input_receiver_fn` is `None`, no `export_outputs`
Expand Down Expand Up @@ -1724,7 +1724,7 @@ def export_savedmodel(self,
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/saved_model/README.md#stripping-default-valued-attributes).
Returns:
The string path to the exported directory.
The path to the exported directory as a bytes object.
Raises:
ValueError: if no `serving_input_receiver_fn` is provided, no
Expand Down

0 comments on commit 6f0b3e7

Please sign in to comment.