diff options
author | Vijay Vasudevan <vrv@google.com> | 2015-12-11 10:33:31 -0800 |
---|---|---|
committer | Vijay Vasudevan <vrv@google.com> | 2015-12-11 10:33:31 -0800 |
commit | bc624aa8d9460dca794fde6d5534f1d3e8054016 (patch) | |
tree | 6314c95c0583fa32124c6f83baf34a09fe92e31c /tensorflow/g3doc/how_tos/variables/index.md | |
parent | d9cfc64a2ddf05c0b093c8fb6704c67452ee3ea0 (diff) |
TensorFlow: merge changes from internal
Change 110004767
Add Cast to list of supported ConstantValue ops, mainly useful for shape inference
Change 110002200
Bug fix for b/24814668. The fix uses mdevin's CL/109324239, which adds support to clear control dependency and control flow contexts.
Bug fix for b/25914830. We now clear the control related contexts for initial values of variables in adagrad.
Change 110000213
Further (minor) improvements to print usage in docs and tutorials
Change 109975099
Update `tensor_util.ConstantValue()` to return scalars when appropriate.
The `ConstantValue()` implementations for `tf.size()` and `tf.rank()`
were returning single-element numpy vectors, whereas the op
implementations produce scalar outputs.
Change 109950165
TensorBoard tag to 5
Base CL: 110006867
Diffstat (limited to 'tensorflow/g3doc/how_tos/variables/index.md')
-rw-r--r-- | tensorflow/g3doc/how_tos/variables/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/g3doc/how_tos/variables/index.md b/tensorflow/g3doc/how_tos/variables/index.md index 9a80b9eb88..b9cbf4c62b 100644 --- a/tensorflow/g3doc/how_tos/variables/index.md +++ b/tensorflow/g3doc/how_tos/variables/index.md @@ -146,7 +146,7 @@ with tf.Session() as sess: .. # Save the variables to disk. save_path = saver.save(sess, "/tmp/model.ckpt") - print("Model saved in file: ", save_path) + print("Model saved in file: %s" % save_path) ``` ### Restoring Variables |