diff --git a/paddle/framework/operator.cc b/paddle/framework/operator.cc index 511323b6f5494deace827b0ccf86ca629ce991c2..d9a013b883abdec4422806f90e36da7410a4fa0c 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(); }