diff --git a/paddle/fluid/pybind/protobuf.cc b/paddle/fluid/pybind/protobuf.cc index d74be76f0b0c00696e0cbe7d8dd4c0136421749c..9661d5524140bbb91638f2032c6f80c93f2832e6 100644 --- a/paddle/fluid/pybind/protobuf.cc +++ b/paddle/fluid/pybind/protobuf.cc @@ -372,7 +372,7 @@ void BindOpDesc(pybind11::module *m) { .def("_set_int32_attr", &pd::OpDesc::SetPlainAttr) .def("_set_int64_attr", &pd::OpDesc::SetPlainAttr) .def("_set_float32_attr", &pd::OpDesc::SetPlainAttr) - // .def("_set_float64_attr", &pd::OpDesc::SetPlainAttr) + .def("_set_float64_attr", &pd::OpDesc::SetPlainAttr) .def("_set_str_attr", &pd::OpDesc::SetPlainAttr) .def("_set_bools_attr", &pd::OpDesc::SetPlainAttr>)