mindflow.loss.get_loss_metric ============================= .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindscience/blob/master/docs/api_python/mindflow/loss/mindflow.loss.get_loss_metric.rst :alt: 查看源文件 .. py:function:: mindflow.loss.get_loss_metric(name) 获取损失函数。 参数: - **name** (str) - 损失函数的名称。 返回: Function,损失函数。