mindspore.ops.Softsign
========================

.. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.3.1/resource/_static/logo_source.svg
    :target: https://gitee.com/mindspore/mindspore/blob/r2.3.1/docs/api/api_python/ops/mindspore.ops.Softsign.rst
    :alt: 查看源文件


.. py:class:: mindspore.ops.Softsign

    Softsign激活函数。

    更多细节请参考 :func:`mindspore.ops.softsign` 。

    输入:
        - **input_x** (Tensor) - shape为 :math:`(N, *)` 的Tensor,其中 :math:`*` 表示任意个数的维度。它的数据类型必须为float16或float32。

    输出:
        Tensor,数据类型和shape与 `input_x` 相同。