diff options
author | 2016-11-18 15:43:53 -0800 | |
---|---|---|
committer | 2016-11-18 16:04:44 -0800 | |
commit | 85eeec0d415a1478bbeffc3d4545c795bee64e9f (patch) | |
tree | 5d1bb5f7b015f933cdfe8f2d5fc1748d8a7e71f7 /tensorflow/python/training/training_util.py | |
parent | 068e2393edb3f0e43a303cf70c4b3c483b2cde23 (diff) |
Automated rollback of change 139400135
Change: 139632235
Diffstat (limited to 'tensorflow/python/training/training_util.py')
-rw-r--r-- | tensorflow/python/training/training_util.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/python/training/training_util.py b/tensorflow/python/training/training_util.py index b2dadd48d2..ed7411c63e 100644 --- a/tensorflow/python/training/training_util.py +++ b/tensorflow/python/training/training_util.py @@ -43,7 +43,7 @@ def global_step(sess, global_step_tensor): Args: sess: A TensorFlow `Session` object. - global_step_tensor: `Output` or the `name` of the operation that contains + global_step_tensor: `Tensor` or the `name` of the operation that contains the global step. Returns: @@ -87,10 +87,10 @@ def get_global_step(graph=None): def assert_global_step(global_step_tensor): - """Asserts `global_step_tensor` is a scalar int `Variable` or `Output`. + """Asserts `global_step_tensor` is a scalar int `Variable` or `Tensor`. Args: - global_step_tensor: `Output` to test. + global_step_tensor: `Tensor` to test. """ if not (isinstance(global_step_tensor, variables.Variable) or isinstance(global_step_tensor, ops.Tensor)): |