modify bitwise doc
This commit is contained in:
parent
8eda6b33a9
commit
d0504e5732
|
@ -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。
|
||||||
|
|
||||||
**返回:**
|
**返回:**
|
||||||
|
|
||||||
|
|
|
@ -719,7 +719,7 @@ class Tensor(Tensor_):
|
||||||
Refer to :func:`mindspore.ops.bitwise_and` for more detail.
|
Refer to :func:`mindspore.ops.bitwise_and` for more detail.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
x (Tensor): The input tensor.
|
x (Tensor): The input tensor with int16, int32 or uint16 data type.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
Tensor, has the same type as the `x`.
|
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.
|
Refer to :func:`mindspore.ops.bitwise_or` for more detail.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
x (Tensor): The input tensor.
|
x (Tensor): The input tensor with int16, int32 or uint16 data type.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
Tensor, has the same type as the `x`.
|
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.
|
Refer to :func:`mindspore.ops.bitwise_xor` for more detail.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
x (Tensor): The input tensor.
|
x (Tensor): The input tensor with int16, int32 or uint16 data type.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
Tensor, has the same type as the `x`.
|
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
|
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
|
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.
|
Refer to :func:`mindspore.ops.ger` for more detail.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue