diff --git a/paddle/fluid/eager/backward.cc b/paddle/fluid/eager/backward.cc index b80d0830660fcf70700ff6366e8d32d1cb779fb7..6b75b8d9e31572a0305d870d2ab9a21bd7631d2c 100644 --- a/paddle/fluid/eager/backward.cc +++ b/paddle/fluid/eager/backward.cc @@ -387,8 +387,8 @@ std::vector RunBackward( } egr::Controller::Instance().ClearFinalBackwardHooks(); if (!is_general_grad) return {}; - return GeneralGrad::Instance().GetResults(inputs, allow_unused, create_graph); VLOG(3) << "Finish Backward"; + return GeneralGrad::Instance().GetResults(inputs, allow_unused, create_graph); } void Backward(