forked from mindspore-Ecosystem/mindspore
update mindspore/python/mindspore/ops/function/math_func.py.
Signed-off-by: 王程浩 <wangchenghao14@huawei.com>
This commit is contained in:
parent
985c48e543
commit
fff572e708
|
@ -2210,7 +2210,8 @@ def polar(abs, angle): # pylint: disable=redefined-outer-name
|
|||
Must be one of the following types: float32, float64.
|
||||
|
||||
Returns:
|
||||
Tensor, has the same shape and data type as `abs`.
|
||||
Tensor, has the same shape as `abs`.If the inputs are float32,data type must be complex64.
|
||||
If the inputs are float64,data type must be complex128.
|
||||
|
||||
Raises:
|
||||
TypeError: If neither `abs` nor `angle` is a Tensor.
|
||||
|
|
Loading…
Reference in New Issue