Skip to content

Commit 6a54c3d

Browse files
authored
Merge pull request #13928 from panyx0718/doc
remove unused codes
2 parents 5dbb2e9 + abbfb60 commit 6a54c3d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

paddle/fluid/framework/op_desc.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,6 @@ class OpDesc {
100100
std::vector<std::string> InputNames() const { return MapKeys(inputs_); }
101101
std::vector<std::string> OutputNames() const { return MapKeys(outputs_); }
102102

103-
void SetInputMap(const VariableNameMap &input) {
104-
this->inputs_ = input;
105-
this->need_update_ = true;
106-
}
107-
108-
void SetOutputMap(const VariableNameMap &output) {
109-
this->outputs_ = output;
110-
this->need_update_ = true;
111-
}
112-
113103
const VariableNameMap &Inputs() const { return inputs_; }
114104

115105
const VariableNameMap &Outputs() const { return outputs_; }

0 commit comments

Comments
 (0)