Skip to content

Commit 4c3dd8d

Browse files
author
Yang Yang
committed
fix string name
1 parent ed14528 commit 4c3dd8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/operators/parallel_do_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class ParallelDoGradOp : public framework::OperatorBase {
243243
const std::vector<framework::Scope *> &sub_scopes,
244244
const platform::PlaceList &places) const {
245245
for (auto &s : Outputs(framework::GradVarName(kParameters))) {
246-
std::__cxx11::string tmp_name;
246+
std::string tmp_name;
247247
auto *tmp = sub_scopes[0]->Var(&tmp_name);
248248

249249
for (size_t i = 1; i < sub_scopes.size(); ++i) {

0 commit comments

Comments
 (0)