From 7793fd28770c02f2a8bb97ecd06dfa8394f3e818 Mon Sep 17 00:00:00 2001 From: huangjun12 <2399845970@qq.com> Date: Thu, 8 Oct 2020 16:02:20 +0800 Subject: [PATCH] add huber_loss to fix ci, test=develop (#27766) --- python/paddle/nn/functional/loss.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/nn/functional/loss.py b/python/paddle/nn/functional/loss.py index 4299b17ebd2..76722f26007 100644 --- a/python/paddle/nn/functional/loss.py +++ b/python/paddle/nn/functional/loss.py @@ -41,6 +41,7 @@ from ...fluid.layers import teacher_student_sigmoid_loss #DEFINE_ALIAS from ...fluid.layers import edit_distance #DEFINE_ALIAS from ...fluid.layers import sampled_softmax_with_cross_entropy #DEFINE_ALIAS +from ...fluid.layers import huber_loss from ...fluid.layer_helper import LayerHelper from ...fluid.framework import in_dygraph_mode from ...fluid.framework import _varbase_creator -- GitLab