mindspore.mint.erf ================== .. 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/mint/mindspore.mint.func_erf.rst :alt: 查看源文件 .. py:function:: mindspore.mint.erf(input) 逐元素计算输入tensor的高斯误差。 .. math:: \text{erf}(x)=\frac{2} {\sqrt{\pi}} \int\limits_0^{x} e^{-t^{2}} dt 参数: - **input** (Tensor) - 输入tensor。 返回: Tensor