From e54eaee58ae719e8ecb5682d845ac01a4d2fbdba Mon Sep 17 00:00:00 2001 From: guosheng Date: Mon, 22 Jan 2018 13:18:08 +0800 Subject: [PATCH] Fix print_operators_doc to support AttrType int_64 --- paddle/pybind/print_operators_doc.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/pybind/print_operators_doc.cc b/paddle/pybind/print_operators_doc.cc index 99694fa592..b55ddee176 100644 --- a/paddle/pybind/print_operators_doc.cc +++ b/paddle/pybind/print_operators_doc.cc @@ -64,6 +64,8 @@ std::string AttrType(paddle::framework::proto::AttrType at) { return "bool array"; case paddle::framework::proto::BLOCK: return "block id"; + case paddle::framework::proto::LONG: + return "long"; } return "UNKNOWN"; // not possible } -- GitLab