提交 df4fe671 编写于 作者: D dongzhihong

"remove attribute"

上级 70825506
......@@ -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 <algorithm>
#include <iterator>
#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();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册