fix bugs test=develop (#28158)

fix_doc_bugs
李灿 5 years ago committed by GitHub
parent dc53ba879f
commit 4193ae0d02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -380,7 +380,9 @@ def uniform(shape, dtype=None, min=-1.0, max=1.0, seed=0, name=None):
distribution in the range [``min``, ``max``), with ``shape`` and ``dtype``.
Examples:
::
Input:
shape = [1, 2]
Output:

@ -62,6 +62,7 @@ def argsort(x, axis=-1, descending=False, name=None):
and with data type int64).
Examples:
.. code-block:: python
import paddle
@ -359,6 +360,7 @@ def nonzero(x, as_tuple=False):
.. code-block:: python
import paddle
x1 = paddle.to_tensor([[1.0, 0.0, 0.0],

Loading…
Cancel
Save