Merge pull request !49161 from 王程浩/master
This commit is contained in:
i-robot 2023-02-22 02:21:22 +00:00 committed by Gitee
commit a5b15b5508
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 1 deletions

View File

@ -2208,7 +2208,8 @@ def polar(abs, angle): # pylint: disable=redefined-outer-name
Must be one of the following types: float32, float64. Must be one of the following types: float32, float64.
Returns: 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: Raises:
TypeError: If neither `abs` nor `angle` is a Tensor. TypeError: If neither `abs` nor `angle` is a Tensor.