Skip to content

Commit 8da1ec3

Browse files
omoYangclaudeSigureMo
authored
Fix op_tester attribute error format mismatch (PaddlePaddle#79181)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: SigureMo <sigure.qaq@gmail.com>
1 parent 8d8c9cf commit 8da1ec3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cpp/fluid/benchmark/op_tester.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ void OpTester::CreateOpDesc() {
221221
attr_types.find(name),
222222
attr_types.end(),
223223
common::errors::NotFound(
224-
"Operator %s does not have attribute %d.", type_, name));
224+
"Operator %s does not have attribute %s.", type_, name));
225225

226226
const std::string &value_str = item.second;
227227
const framework::proto::AttrType &type = attr_types[name];

0 commit comments

Comments
 (0)