diff --git a/python/paddle/fluid/framework.py b/python/paddle/fluid/framework.py index 6d98612a88e1725ba708294a2237d4d38e7fe6bd..bb2a25085495402f1361db6c10d7475792fe9cf1 100644 --- a/python/paddle/fluid/framework.py +++ b/python/paddle/fluid/framework.py @@ -4116,6 +4116,7 @@ class Program(object): program_str = "" for block in self.blocks: program_str += block._to_readable_code(skip_op_callstack) + program_str += '\n' return program_str def to_string(self, throw_on_error, with_details=False):