mindchemistry.e3.nn.soft_unit_step ==================================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.5.0/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindscience/blob/r0.7/docs/api_python/mindchemistry/e3/nn/mindchemistry.e3.nn.soft_unit_step.rst :alt: 查看源文件 .. py:function:: mindchemistry.e3.nn.soft_unit_step(x) 单位阶跃函数的平滑版本。 .. math:: x \mapsto \theta(x) e^{-1/x} 参数: - **x** (Tensor) - 输入张量。 返回: 张量,单位阶跃函数的输出。