added periods
This commit is contained in:
parent
88150396fd
commit
ace0c9c722
@ -199,7 +199,7 @@ def reshape(tensor, shape, name=None): # pylint: disable=redefined-outer-name
|
||||
def fill(dims, value, name=None):
|
||||
r"""Creates a tensor filled with a scalar value.
|
||||
|
||||
See also `tf.ones`, `tf.zeros`, `tf.one_hot`, `tf.eye`
|
||||
See also `tf.ones`, `tf.zeros`, `tf.one_hot`, `tf.eye`.
|
||||
|
||||
This operation creates a tensor of shape `dims` and fills it with `value`.
|
||||
|
||||
@ -761,7 +761,7 @@ def rank(input, name=None):
|
||||
# pylint: disable=redefined-builtin
|
||||
"""Returns the rank of a tensor.
|
||||
|
||||
See also `tf.shape`
|
||||
See also `tf.shape`.
|
||||
|
||||
Returns a 0-D `int32` `Tensor` representing the rank of `input`.
|
||||
|
||||
@ -994,7 +994,7 @@ def slice(input_, begin, size, name=None):
|
||||
# pylint: disable=redefined-builtin
|
||||
"""Extracts a slice from a tensor.
|
||||
|
||||
See also `tf.strided_slice`
|
||||
See also `tf.strided_slice`.
|
||||
|
||||
This operation extracts a slice of size `size` from a tensor `input_` starting
|
||||
at the location specified by `begin`. The slice `size` is represented as a
|
||||
@ -1058,7 +1058,7 @@ def strided_slice(input_,
|
||||
name=None):
|
||||
"""Extracts a strided slice of a tensor (generalized python array indexing).
|
||||
|
||||
See also `tf.slice`
|
||||
See also `tf.slice`.
|
||||
|
||||
**Instead of calling this op directly most users will want to use the
|
||||
NumPy-style slicing syntax (e.g. `tensor[..., 3:4:-1, tf.newaxis, 3]`), which
|
||||
@ -1802,7 +1802,7 @@ def sparse_mask(a, mask_indices, name=None):
|
||||
def unique(x, out_idx=dtypes.int32, name=None):
|
||||
"""Finds unique elements in a 1-D tensor.
|
||||
|
||||
See also `tf.unique_with_counts`
|
||||
See also `tf.unique_with_counts`.
|
||||
|
||||
This operation returns a tensor `y` containing all of the unique elements
|
||||
of `x` sorted in the same order that they occur in `x`. This operation
|
||||
@ -1849,7 +1849,7 @@ unique.__doc__ = gen_array_ops.unique.__doc__
|
||||
def unique_with_counts(x, out_idx=dtypes.int32, name=None):
|
||||
"""Finds unique elements in a 1-D tensor.
|
||||
|
||||
See also `tf.unique`
|
||||
See also `tf.unique`.
|
||||
|
||||
This operation returns a tensor `y` containing all of the unique elements
|
||||
of `x` sorted in the same order that they occur in `x`. This operation
|
||||
@ -2698,7 +2698,7 @@ def _tag_zeros_tensor(fun):
|
||||
def zeros(shape, dtype=dtypes.float32, name=None):
|
||||
"""Creates a tensor with all elements set to zero.
|
||||
|
||||
See also `tf.zeros_like`, `tf.ones`, `tf.fill`, `tf.eye`
|
||||
See also `tf.zeros_like`, `tf.ones`, `tf.fill`, `tf.eye`.
|
||||
|
||||
This operation returns a tensor of type `dtype` with shape `shape` and
|
||||
all elements set to zero.
|
||||
@ -3874,7 +3874,7 @@ def one_hot(indices,
|
||||
name=None):
|
||||
"""Returns a one-hot tensor.
|
||||
|
||||
See also `tf.fill`, `tf.eye`
|
||||
See also `tf.fill`, `tf.eye`.
|
||||
|
||||
The locations represented by indices in `indices` take value `on_value`,
|
||||
while all other locations take value `off_value`.
|
||||
|
@ -443,7 +443,7 @@ def scan(fn,
|
||||
name=None):
|
||||
"""scan on the list of tensors unpacked from `elems` on dimension 0.
|
||||
|
||||
See also `tf.map_fn`
|
||||
See also `tf.map_fn`.
|
||||
|
||||
The simplest version of `scan` repeatedly applies the callable `fn` to a
|
||||
sequence of elements from first to last. The elements are made of the tensors
|
||||
|
@ -194,7 +194,7 @@ def eye(num_rows,
|
||||
name=None):
|
||||
"""Construct an identity matrix, or a batch of matrices.
|
||||
|
||||
See also `tf.ones`, `tf.zeros`, `tf.fill`, `tf.one_hot`
|
||||
See also `tf.ones`, `tf.zeros`, `tf.fill`, `tf.one_hot`.
|
||||
|
||||
```python
|
||||
# Construct one identity matrix.
|
||||
|
@ -53,7 +53,7 @@ def map_fn(fn,
|
||||
fn_output_signature=None):
|
||||
"""Transforms `elems` by applying `fn` to each element unstacked on axis 0.
|
||||
|
||||
See also `tf.scan`
|
||||
See also `tf.scan`.
|
||||
|
||||
`map_fn` unstacks `elems` on axis 0 to obtain a sequence of elements;
|
||||
calls `fn` to transform each element; and then stacks the transformed
|
||||
|
Loading…
Reference in New Issue
Block a user