Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add complex dtype for logical op #6150

Merged
merged 1 commit into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/api/paddle/logical_and_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ logical_and
参数
::::::::::::

- **x** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, in32, in64, float16, float32, float64。
- **y** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, in32, in64, float16, float32, float64。
- **x** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, int32, int64, float16, float32, float64, complex64, complex128
- **y** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, int32, int64, float16, float32, float64, complex64, complex128
- **out** (Tensor,可选)- 指定算子输出结果的 `Tensor`,可以是程序中已经创建的任何 Tensor。默认值为 None,此时将创建新的 Tensor 来保存输出结果。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

Expand Down
2 changes: 1 addition & 1 deletion docs/api/paddle/logical_not_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ logical_not
参数
::::::::::::

- **x** (Tensor)- 逻辑非运算的输入,是一个 Tensor,支持的数据类型为 bool, int8, int16, in32, in64, float16, float32, float64。
- **x** (Tensor)- 逻辑非运算的输入,是一个 Tensor,支持的数据类型为 bool, int8, int16, int32, int64, float16, float32, float64, complex64, complex128
- **out** (Tensor,可选)- 指定算子输出结果的 Tensor,可以是程序中已经创建的任何 Tensor。默认值为 None,此时将创建新的 Tensor 来保存输出结果。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/logical_or_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ logical_or
参数
::::::::::::

- **x** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, in32, in64, float16, float32, float64。
- **y** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, in32, in64, float16, float32, float64。
- **x** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, int32, int64, float16, float32, float64, complex64, complex128
- **y** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, int32, int64, float16, float32, float64, complex64, complex128
- **out** (Tensor,可选)- 指定算子输出结果的 `Tensor`,可以是程序中已经创建的任何 Tensor。默认值为 None,此时将创建新的 Tensor 来保存输出结果。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/logical_xor_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ logical_xor
参数
::::::::::::

- **x** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, in32, in64, float16, float32, float64。
- **y** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, in32, in64, float16, float32, float64。
- **x** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, int32, int64, float16, float32, float64, complex64, complex128
- **y** (Tensor)- 输入的 `Tensor`,支持的数据类型为 bool, int8, int16, int32, int64, float16, float32, float64, complex64, complex128
- **out** (Tensor,可选)- 指定算子输出结果的 `Tensor`,可以是程序中已经创建的任何 Tensor。默认值为 None,此时将创建新的 Tensor 来保存输出结果。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

Expand Down