mindspore.ops.exp ================= .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/master/docs/api/api_python/ops/mindspore.ops.func_exp.rst :alt: 查看源文件 .. py:function:: mindspore.ops.exp(input) 逐元素计算 `input` 的指数。 .. math:: out_i = e^{x_i} 参数: - **input** (Tensor) - 指数函数的输入Tensor。上述公式中的 :math:`x` 。 返回: Tensor,具有与 `input` 相同的shape。 异常: - **TypeError** - `input` 不是Tensor。