!37922 modify bitwise doc

Merge pull request !37922 from KXiong/code_docs_master
This commit is contained in:
i-robot 2022-07-14 07:55:25 +00:00 committed by Gitee
commit d1c98cd20f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 10 additions and 7 deletions

View File

@ -222,7 +222,7 @@ mindspore.Tensor
**参数:**
- **x** (Tensor) - 输入Tensor是一个数据类型为uint8、uint16、unint32、uint64、int8、int16、int32或int64的Tensor。
- **x** (Tensor) - 输入Tensor是一个数据类型为uint16、int16或int32的Tensor。
**返回:**
@ -236,7 +236,7 @@ mindspore.Tensor
**参数:**
- **x** (Tensor) - 输入Tensor是一个数据类型为uint8、uint16、unint32、uint64、int8、int16、int32或int64的Tensor。
- **x** (Tensor) - 输入Tensor是一个数据类型为uint16、int16或int32的Tensor。
**返回:**
@ -250,7 +250,7 @@ mindspore.Tensor
**参数:**
- **x** (Tensor) - 输入Tensor是一个数据类型为uint8、uint16、unint32、uint64、int8、int16、int32或int64的Tensor。
- **x** (Tensor) - 输入Tensor是一个数据类型为uint16、int16或int32的Tensor。
**返回:**

View File

@ -719,7 +719,7 @@ class Tensor(Tensor_):
Refer to :func:`mindspore.ops.bitwise_and` for more detail.
Args:
x (Tensor): The input tensor.
x (Tensor): The input tensor with int16, int32 or uint16 data type.
Returns:
Tensor, has the same type as the `x`.
@ -746,7 +746,7 @@ class Tensor(Tensor_):
Refer to :func:`mindspore.ops.bitwise_or` for more detail.
Args:
x (Tensor): The input tensor.
x (Tensor): The input tensor with int16, int32 or uint16 data type.
Returns:
Tensor, has the same type as the `x`.
@ -773,7 +773,7 @@ class Tensor(Tensor_):
Refer to :func:`mindspore.ops.bitwise_xor` for more detail.
Args:
x (Tensor): The input tensor.
x (Tensor): The input tensor with int16, int32 or uint16 data type.
Returns:
Tensor, has the same type as the `x`.
@ -897,7 +897,10 @@ class Tensor(Tensor_):
"""
Ger product of `self` and `x`. Calculate the outer product of two arrays. If `self` is a 1D
Tensor of shape :math:`(m,)` and `x` is a 1D Tensor of shape :math:`(n,)`, then `output` must be a Tensor of
shape :math:`(m * n)`.
shape :math:`(m, n)`.
Note:
Currently Ascend does not support float64 data input.
Refer to :func:`mindspore.ops.ger` for more detail.