Skip to content

Commit e54eaee

Browse files
committed
Fix print_operators_doc to support AttrType int_64
1 parent fd5c1c8 commit e54eaee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

paddle/pybind/print_operators_doc.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ std::string AttrType(paddle::framework::proto::AttrType at) {
6464
return "bool array";
6565
case paddle::framework::proto::BLOCK:
6666
return "block id";
67+
case paddle::framework::proto::LONG:
68+
return "long";
6769
}
6870
return "UNKNOWN"; // not possible
6971
}

0 commit comments

Comments
 (0)