Skip to content

Commit

Permalink
update abs_cn.rst (PaddlePaddle#3684)
Browse files Browse the repository at this point in the history
* update readme.md

* update abs_cn.rst
  • Loading branch information
Ligoml authored Jul 23, 2021
1 parent 0747dd4 commit c9d1021
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ PaddlePaddle welcomes documentation contributions, please see [CONTRIBUTING.md](
## License
[Apache License 2.0](LICENSE)
12 changes: 7 additions & 5 deletions docs/api/paddle/abs_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ abs
.. math::
out = |x|
参数:
参数
:::::::::
- x (Tensor) - 输入的Tensor,数据类型为:float32、float64。
- name (str,可选) - 操作的名称(可选,默认值为None)。更多信息请参见 :ref:`api_guide_Name`。

返回:输出Tensor,与 ``x`` 维度相同、数据类型相同。
返回
:::::::::
输出Tensor,与 ``x`` 维度相同、数据类型相同。

返回类型:Tensor

**代码示例**:
代码示例
:::::::::

.. code-block:: python
Expand Down

0 comments on commit c9d1021

Please sign in to comment.