From abbfb60ca92dd5fa23b7273df51576f8bf778062 Mon Sep 17 00:00:00 2001 From: Xin Pan Date: Wed, 17 Oct 2018 09:31:06 +0800 Subject: [PATCH] remove unused codes test=develop --- paddle/fluid/framework/op_desc.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/paddle/fluid/framework/op_desc.h b/paddle/fluid/framework/op_desc.h index b4205aba83e..440e0509be7 100644 --- a/paddle/fluid/framework/op_desc.h +++ b/paddle/fluid/framework/op_desc.h @@ -100,16 +100,6 @@ class OpDesc { std::vector InputNames() const { return MapKeys(inputs_); } std::vector OutputNames() const { return MapKeys(outputs_); } - void SetInputMap(const VariableNameMap &input) { - this->inputs_ = input; - this->need_update_ = true; - } - - void SetOutputMap(const VariableNameMap &output) { - this->outputs_ = output; - this->need_update_ = true; - } - const VariableNameMap &Inputs() const { return inputs_; } const VariableNameMap &Outputs() const { return outputs_; } -- GitLab