mindspore.mint.polar ==================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/br_base/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/br_base/docs/api/api_python/mint/mindspore.mint.func_polar.rst :alt: 查看源文件 .. py:function:: mindspore.mint.polar(abs, angle) 将极坐标转化为笛卡尔坐标。 返回一个复数tensor,其元素是由输入极坐标构造的笛卡尔坐标。其中极坐标由极径 `abs` 和极角 `angle` 给定。 .. math:: y_{i} = abs_{i} * \cos(angle_{i}) + abs_{i} * \sin(angle_{i}) * j 参数: - **abs** (Tensor, float) - 极径。 - **angle** (Tensor, float) - 极角。 返回: Tensor