Skip to content

Commit

Permalink
【complex op】No.12、14 add complex support for square & reciprocal-中文文档…
Browse files Browse the repository at this point in the history
…修改 (PaddlePaddle#6480)

* add complex type for square and reciprocal

* fix
  • Loading branch information
zbt78 authored Jan 18, 2024
1 parent 08cf11a commit c93dcc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api/paddle/reciprocal_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ reciprocal 对输入 Tensor 取倒数
::::::::::::


- **x** - 输入的多维 Tensor,支持的数据类型为 float32,float64。
- **x** - 输入的多维 Tensor,支持的数据类型为 float32,float64,complex64,complex128
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。


Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/square_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ square
对输入参数``x``进行逐元素取平方运算。
对输入参数 x 进行逐元素取平方运算。

.. math::
out = x^2
参数
::::::::::::

- **x** (Tensor) - 任意维度的 Tensor,支持的数据类型:float32,float64。
- **x** (Tensor) - 任意维度的 Tensor,支持的数据类型:float32,float64,complex64,complex128
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

返回
Expand Down

0 comments on commit c93dcc4

Please sign in to comment.