diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2016-11-16 17:22:24 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-11-16 17:45:22 -0800 |
commit | 7faf155a7367b2709c78c8a6451c74a67f04893e (patch) | |
tree | 180cb37c9b8dbe48412522f98e35df166ee3d291 /tensorflow/g3doc/api_docs/python/client.md | |
parent | 95d2a35ff60369775992879389648fa401e1dab8 (diff) |
Update generated Python Op docs.
Change: 139402193
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/client.md')
-rw-r--r-- | tensorflow/g3doc/api_docs/python/client.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tensorflow/g3doc/api_docs/python/client.md b/tensorflow/g3doc/api_docs/python/client.md index 76571a0aff..3dd8960d0a 100644 --- a/tensorflow/g3doc/api_docs/python/client.md +++ b/tensorflow/g3doc/api_docs/python/client.md @@ -17,7 +17,7 @@ examples of how a graph is launched in a [`tf.Session`](#Session). A class for running TensorFlow operations. A `Session` object encapsulates the environment in which `Operation` -objects are executed, and `Tensor` objects are evaluated. For +objects are executed, and `Output` objects are evaluated. For example: ```python @@ -99,7 +99,7 @@ Runs operations and evaluates tensors in `fetches`. This method runs one "step" of TensorFlow computation, by running the necessary graph fragment to execute every `Operation` -and evaluate every `Tensor` in `fetches`, substituting the values in +and evaluate every `Output` in `fetches`, substituting the values in `feed_dict` for the corresponding input values. The `fetches` argument may be a single graph element, or an arbitrarily @@ -108,7 +108,7 @@ leaves. A graph element can be one of the following types: * An [`Operation`](../../api_docs/python/framework.md#Operation). The corresponding fetched value will be `None`. -* A [`Tensor`](../../api_docs/python/framework.md#Tensor). +* A [`Output`](../../api_docs/python/framework.md#Output). The corresponding fetched value will be a numpy ndarray containing the value of that tensor. * A [`SparseTensor`](../../api_docs/python/sparse_ops.md#SparseTensor). @@ -149,7 +149,7 @@ The optional `feed_dict` argument allows the caller to override the value of tensors in the graph. Each key in `feed_dict` can be one of the following types: -* If the key is a [`Tensor`](../../api_docs/python/framework.md#Tensor), the +* If the key is a [`Output`](../../api_docs/python/framework.md#Output), the value may be a Python scalar, string, list, or numpy ndarray that can be converted to the same `dtype` as that tensor. Additionally, if the key is a @@ -159,7 +159,7 @@ one of the following types: [`SparseTensor`](../../api_docs/python/sparse_ops.md#SparseTensor), the value should be a [`SparseTensorValue`](../../api_docs/python/sparse_ops.md#SparseTensorValue). -* If the key is a nested tuple of `Tensor`s or `SparseTensor`s, the value +* If the key is a nested tuple of `Output`s or `SparseTensor`s, the value should be a nested tuple with the same structure that maps to their corresponding values as above. @@ -199,7 +199,7 @@ collected into this argument and passed back. closed). * <b>`TypeError`</b>: If `fetches` or `feed_dict` keys are of an inappropriate type. * <b>`ValueError`</b>: If `fetches` or `feed_dict` keys are invalid or refer to a - `Tensor` that doesn't exist. + `Output` that doesn't exist. - - - @@ -233,7 +233,7 @@ Returns a context manager that makes this object the default session. Use with the `with` keyword to specify that calls to [`Operation.run()`](../../api_docs/python/framework.md#Operation.run) or -[`Tensor.eval()`](../../api_docs/python/framework.md#Tensor.eval) should be +[`Output.eval()`](../../api_docs/python/framework.md#Output.eval) should be executed in this session. ```python @@ -337,7 +337,7 @@ A TensorFlow `Session` for use in interactive contexts, such as a shell. The only difference with a regular `Session` is that an `InteractiveSession` installs itself as the default session on construction. -The methods [`Tensor.eval()`](../../api_docs/python/framework.md#Tensor.eval) +The methods [`Output.eval()`](../../api_docs/python/framework.md#Output.eval) and [`Operation.run()`](../../api_docs/python/framework.md#Operation.run) will use that session to run ops. |