mindspore.mint.nn.Softmax ========================= .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/br_base/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/br_base/docs/api/api_python/mint/mindspore.mint.nn.Softmax.rst :alt: 查看源文件 .. py:class:: mindspore.mint.nn.Softmax(dim=None) 将Softmax函数应用于n维输入Tensor。 更多参考详见 :func:`mindspore.mint.nn.functional.softmax`。