提交 97e39be4 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Update generated Python Op docs.

Change: 139847768
上级 0672d414
......@@ -58,7 +58,7 @@ Assert `tensor` is 0-D, of type `tf.int32` or `tf.int64`.
- - -
### `tf.contrib.framework.convert_to_tensor_or_sparse_tensor(value, dtype=None, name=None, as_ref=False)` {#convert_to_tensor_or_sparse_tensor}
### `tf.contrib.framework.convert_to_tensor_or_sparse_tensor(value, dtype=None, name=None)` {#convert_to_tensor_or_sparse_tensor}
Converts value to a `SparseTensor` or `Tensor`.
......@@ -70,8 +70,6 @@ Converts value to a `SparseTensor` or `Tensor`.
* <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.
##### Returns:
......
......@@ -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:
......
### `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`.
......@@ -32,8 +32,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
......@@ -42,7 +40,7 @@ and scalars in addition to `Tensor` objects.
##### Returns:
A `Tensor` based on `value`.
An `Output` based on `value`.
##### Raises:
......
### `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`.
......@@ -14,7 +14,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:
......
### `tf.contrib.framework.convert_to_tensor_or_sparse_tensor(value, dtype=None, name=None, as_ref=False)` {#convert_to_tensor_or_sparse_tensor}
### `tf.contrib.framework.convert_to_tensor_or_sparse_tensor(value, dtype=None, name=None)` {#convert_to_tensor_or_sparse_tensor}
Converts value to a `SparseTensor` or `Tensor`.
......@@ -10,8 +10,6 @@ Converts value to a `SparseTensor` or `Tensor`.
* <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.
##### Returns:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册