mindspore.mint.nn.SmoothL1Loss ============================== .. 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.SmoothL1Loss.rst :alt: 查看源文件 .. py:class:: mindspore.mint.nn.SmoothL1Loss(reduction='mean', beta=1.0) 计算平滑L1损失,该L1损失函数有稳健性。 .. warning:: 这是一个实验性API,后续可能修改或删除。 参见 :func:`mindspore.mint.nn.functional.smooth_l1_loss` 获取更多详情。