From 4c3dd8dc99ea866da4ec4470d670dbfce646cfaf Mon Sep 17 00:00:00 2001 From: Yang Yang Date: Wed, 24 Jan 2018 00:01:42 +0000 Subject: [PATCH] fix string name --- paddle/operators/parallel_do_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/operators/parallel_do_op.cc b/paddle/operators/parallel_do_op.cc index 7c746d7f92..09e808902f 100644 --- a/paddle/operators/parallel_do_op.cc +++ b/paddle/operators/parallel_do_op.cc @@ -243,7 +243,7 @@ class ParallelDoGradOp : public framework::OperatorBase { const std::vector &sub_scopes, const platform::PlaceList &places) const { for (auto &s : Outputs(framework::GradVarName(kParameters))) { - std::__cxx11::string tmp_name; + std::string tmp_name; auto *tmp = sub_scopes[0]->Var(&tmp_name); for (size_t i = 1; i < sub_scopes.size(); ++i) { -- GitLab