Skip to content

Commit

Permalink
add complex dtype for logical op (#6150)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyouzhi authored Aug 30, 2023
1 parent d85471b commit 0c4b768
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
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

0 comments on commit 0c4b768

Please sign in to comment.