Updates Session documentation.

Change: 128765010
This commit is contained in:
A. Unique TensorFlower 2016-07-28 17:17:31 -08:00 committed by TensorFlower Gardener
parent 3aaeb88b29
commit 02a78c094e
4 changed files with 4 additions and 7 deletions

View File

@ -21,7 +21,7 @@ Then:
```python
import tensorflow as tf
with tf.Session("local"):
with tf.Session():
input1 = tf.constant(1.0, shape=[1, 1], name="input1")
input2 = tf.constant(2.0, shape=[1, 1], name="input2")
output = tf.matmul(input1, input2)

View File

@ -373,8 +373,7 @@ the session constructor.
* <b>`target`</b>: (Optional.) The execution engine to connect to.
Defaults to using an in-process engine. At present, no value
other than the empty string is supported.
Defaults to using an in-process engine.
* <b>`graph`</b>: (Optional.) The `Graph` to be launched (described above).
* <b>`config`</b>: (Optional) `ConfigProto` proto used to configure the session.

View File

@ -53,8 +53,7 @@ the session constructor.
* <b>`target`</b>: (Optional.) The execution engine to connect to.
Defaults to using an in-process engine. At present, no value
other than the empty string is supported.
Defaults to using an in-process engine.
* <b>`graph`</b>: (Optional.) The `Graph` to be launched (described above).
* <b>`config`</b>: (Optional) `ConfigProto` proto used to configure the session.

View File

@ -1217,8 +1217,7 @@ class InteractiveSession(BaseSession):
Args:
target: (Optional.) The execution engine to connect to.
Defaults to using an in-process engine. At present, no value
other than the empty string is supported.
Defaults to using an in-process engine.
graph: (Optional.) The `Graph` to be launched (described above).
config: (Optional) `ConfigProto` proto used to configure the session.
"""