aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/g3doc/api_docs/python/framework.md
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-11-21 16:38:21 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-21 16:48:47 -0800
commit97e39be436e435455aee38080072ec6891b35d72 (patch)
tree060b500ecea48c31fa8ccfc490eddb6f62eb03b6 /tensorflow/g3doc/api_docs/python/framework.md
parent0672d414381b66dd63cc58ea860f8dd93af0083c (diff)
Update generated Python Op docs.
Change: 139847768
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/framework.md')
-rw-r--r--tensorflow/g3doc/api_docs/python/framework.md9
1 files changed, 3 insertions, 6 deletions
diff --git a/tensorflow/g3doc/api_docs/python/framework.md b/tensorflow/g3doc/api_docs/python/framework.md
index d09acc4dee..707bab69ad 100644
--- a/tensorflow/g3doc/api_docs/python/framework.md
+++ b/tensorflow/g3doc/api_docs/python/framework.md
@@ -2518,7 +2518,7 @@ for more details.
- - -
-### `tf.convert_to_tensor(value, dtype=None, name=None, as_ref=False, preferred_dtype=None)` {#convert_to_tensor}
+### `tf.convert_to_tensor(value, dtype=None, name=None, preferred_dtype=None)` {#convert_to_tensor}
Converts the given `value` to a `Tensor`.
@@ -2552,8 +2552,6 @@ and scalars in addition to `Tensor` objects.
* <b>`dtype`</b>: Optional element type for the returned tensor. If missing, the
type is inferred from the type of `value`.
* <b>`name`</b>: Optional name to use if a new `Tensor` is created.
-* <b>`as_ref`</b>: True if we want the result as a ref tensor. Only used if a new
- `Tensor` is created.
* <b>`preferred_dtype`</b>: Optional element type for the returned tensor,
used when dtype is None. In some cases, a caller may not have a
dtype in mind when converting to a tensor, so preferred_dtype
@@ -2562,7 +2560,7 @@ and scalars in addition to `Tensor` objects.
##### Returns:
- A `Tensor` based on `value`.
+ An `Output` based on `value`.
##### Raises:
@@ -2573,7 +2571,7 @@ and scalars in addition to `Tensor` objects.
- - -
-### `tf.convert_to_tensor_or_indexed_slices(value, dtype=None, name=None, as_ref=False)` {#convert_to_tensor_or_indexed_slices}
+### `tf.convert_to_tensor_or_indexed_slices(value, dtype=None, name=None)` {#convert_to_tensor_or_indexed_slices}
Converts the given object to a `Tensor` or an `IndexedSlices`.
@@ -2589,7 +2587,6 @@ unmodified. Otherwise, it is converted to a `Tensor` using
* <b>`dtype`</b>: (Optional.) The required `DType` of the returned `Tensor` or
`IndexedSlices`.
* <b>`name`</b>: (Optional.) A name to use if a new `Tensor` is created.
-* <b>`as_ref`</b>: True if the caller wants the results as ref tensors.
##### Returns: