Updates Session documentation.
Change: 128765010
This commit is contained in:
parent
3aaeb88b29
commit
02a78c094e
@ -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)
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user