aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/tools/inspect_checkpoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/tools/inspect_checkpoint.py')
-rw-r--r--tensorflow/python/tools/inspect_checkpoint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/tools/inspect_checkpoint.py b/tensorflow/python/tools/inspect_checkpoint.py
index dd876cbe7f..6504fbc107 100644
--- a/tensorflow/python/tools/inspect_checkpoint.py
+++ b/tensorflow/python/tools/inspect_checkpoint.py
@@ -30,7 +30,7 @@ FLAGS = None
def print_tensors_in_checkpoint_file(file_name, tensor_name, all_tensors,
- all_tensor_names):
+ all_tensor_names=False):
"""Prints tensors in a checkpoint file.
If no `tensor_name` is provided, prints the tensor names and shapes
@@ -139,7 +139,7 @@ if __name__ == "__main__":
const=True,
type="bool",
default=False,
- help="If True, print the values of all the tensors.")
+ help="If True, print the names and values of all the tensors.")
parser.add_argument(
"--all_tensor_names",
nargs="?",