diff --git a/paddle/fluid/pybind/eager_op_function_generator.cc b/paddle/fluid/pybind/eager_op_function_generator.cc index d1aa3c96a7a3f0..b0d8c7768968d3 100644 --- a/paddle/fluid/pybind/eager_op_function_generator.cc +++ b/paddle/fluid/pybind/eager_op_function_generator.cc @@ -771,7 +771,7 @@ std::string GenerateOpFunctionsBody( } return_str = "return ToPyObject(out);"; - + std::string function_args = ""; if (input_args == "") { function_args = FUNCTION_ARGS_NO_INPUT;