From df4fe671fe59863b5cbb3b595da544016b678199 Mon Sep 17 00:00:00 2001 From: dongzhihong Date: Wed, 9 Aug 2017 14:47:56 +0800 Subject: [PATCH] "remove attribute" --- paddle/framework/operator.cc | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/paddle/framework/operator.cc b/paddle/framework/operator.cc index 511323b6f54..d9a013b883a 100644 --- a/paddle/framework/operator.cc +++ b/paddle/framework/operator.cc @@ -12,9 +12,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -#include "paddle/framework/operator.h" #include -#include + +#include "paddle/framework/operator.h" namespace paddle { namespace framework { @@ -103,16 +103,6 @@ std::string OperatorBase::DebugString() const { ss << ", "; } } - ss << "), "; - ss << "Attrs:("; - size_t i = 0; - for (auto& attr : attrs_) { - ss << attr.first; - if (i != attrs_.size() - 1) { - ss << ", "; - } - i++; - } ss << ")."; return ss.str(); } -- GitLab