aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/g3doc/get_started/basic_usage.md
diff options
context:
space:
mode:
authorGravatar Vijay Vasudevan <vrv@google.com>2015-11-11 11:52:11 -0800
committerGravatar Vijay Vasudevan <vrv@google.com>2015-11-11 11:52:11 -0800
commit3961abed9560cd852fff4add393b451483bbc3af (patch)
tree57b7d3180ff4db6f6c8c5897dec252b1c2b6380d /tensorflow/g3doc/get_started/basic_usage.md
parent9a00a61aa4ae59339b14d29650a591732901c264 (diff)
Upstream a number of changes to git.
Changes: - Updates to README / os_setup for common installation issues by ebrevdo, vrv, wicke, anelia, dga - Add a test for backwards compatibility checks by Josh - Simplifications to tiling/padding of scalars by bsteiner - Improve listing of devices when no devices are known by Matthieu Base CL: 107607137
Diffstat (limited to 'tensorflow/g3doc/get_started/basic_usage.md')
-rw-r--r--tensorflow/g3doc/get_started/basic_usage.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/g3doc/get_started/basic_usage.md b/tensorflow/g3doc/get_started/basic_usage.md
index df4f769983..3799fc2ffc 100644
--- a/tensorflow/g3doc/get_started/basic_usage.md
+++ b/tensorflow/g3doc/get_started/basic_usage.md
@@ -239,7 +239,7 @@ training graph repeatedly.
To fetch the outputs of operations, execute the graph with a `run()` call on
the `Session` object and pass in the tensors to retrieve. In the previous
-example we fetched the single node `var`, but you can also fetch multiple
+example we fetched the single node `state`, but you can also fetch multiple
tensors:
```python
@@ -249,7 +249,7 @@ input3 = tf.constant(5.0)
intermed = tf.add(input2, input3)
mul = tf.mul(input1, intermed)
-with tf.Session():
+with tf.Session() as sess:
result = sess.run([mul, intermed])
print result