mindspore.mint.nn.GELU ==================================== .. 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.nn.GELU.rst :alt: 查看源文件 .. py:class:: mindspore.mint.nn.GELU(approximate='none') 高斯误差线性单元激活函数(Gaussian Error Linear Unit)。 GELU的详细描述可以参考论文: `Gaussian Error Linear Units (GELUs) <https://arxiv.org/abs/1606.08415>`_ , 或论文: `BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding <https://arxiv.org/abs/1810.04805>`_ 。 更多参考详见 :func:`mindspore.mint.nn.functional.gelu`。 GELU函数图: .. image:: ../images/GELU.png :align: center