Update docs as per #15325
authorAustin Anderson <angerson@google.com>
Wed, 13 Dec 2017 19:27:29 +0000 (11:27 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 13 Dec 2017 19:31:11 +0000 (11:31 -0800)
PiperOrigin-RevId: 178932328

tensorflow/docs_src/programmers_guide/tensors.md

index 47d4db2a568c9f8009982e44a85e44f0250860c1..58a80d533927e4f0d1458f87406914c1efa00605 100644 (file)
@@ -112,8 +112,8 @@ For example, the following method programmatically determines the rank
 of the `tf.Tensor` defined in the previous section:
 
 ```python
-r = tf.rank(my3d)
-# After the graph runs, r will hold the value 3.
+r = tf.rank(my_image)
+# After the graph runs, r will hold the value 4.
 ```
 
 ### Referring to `tf.Tensor` slices