diff --git a/mindspore/python/mindspore/ops/function/math_func.py b/mindspore/python/mindspore/ops/function/math_func.py index c7f1d80674d..2441a0c24f8 100644 --- a/mindspore/python/mindspore/ops/function/math_func.py +++ b/mindspore/python/mindspore/ops/function/math_func.py @@ -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.