modify bitwise doc

This commit is contained in:
xiongkun 2022-07-12 20:06:15 +08:00
parent 8eda6b33a9
commit d0504e5732
2 changed files with 10 additions and 7 deletions

View File

@ -192,7 +192,7 @@ mindspore.Tensor
**参数:**
- **x** (Tensor) - 输入Tensor是一个数据类型为uint8、uint16、unint32、uint64、int8、int16、int32或int64的Tensor。
- **x** (Tensor) - 输入Tensor是一个数据类型为uint16、int16或int32的Tensor。
**返回:**
@ -206,7 +206,7 @@ mindspore.Tensor
**参数:**
- **x** (Tensor) - 输入Tensor是一个数据类型为uint8、uint16、unint32、uint64、int8、int16、int32或int64的Tensor。
- **x** (Tensor) - 输入Tensor是一个数据类型为uint16、int16或int32的Tensor。
**返回:**
@ -220,7 +220,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.