Skip to content

Commit 3622537

Browse files
committed
Polish code
test=develop
1 parent c0ddb93 commit 3622537

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

paddle/fluid/framework/grad_op_desc_maker.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ limitations under the License. */
1414

1515
#pragma once
1616
#include <algorithm>
17+
#include <memory>
1718
#include <string>
19+
#include <unordered_map>
1820
#include <unordered_set>
1921
#include <vector>
2022
#include "paddle/fluid/framework/op_desc.h"

paddle/fluid/imperative/tracer.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ framework::VariableNameMap CreateOutputVarNameMap(
131131
return result;
132132
}
133133

134-
Tracer::Tracer(framework::BlockDesc* root_block) : root_block_(root_block) {
135-
}
134+
Tracer::Tracer(framework::BlockDesc* root_block) : root_block_(root_block) {}
136135

137136
std::set<std::string> Tracer::Trace(OpBase* op, const VarBasePtrMap& inputs,
138137
const VarBasePtrMap& outputs,

0 commit comments

Comments
 (0)