diff --git a/python/paddle/base/unique_name.py b/python/paddle/base/unique_name.py index 604b5e1ef354d3..e222373b0189e6 100644 --- a/python/paddle/base/unique_name.py +++ b/python/paddle/base/unique_name.py @@ -211,7 +211,7 @@ def guard(new_generator=None): Args: new_generator(str|bytes, optional): New name of global namespace. Note that str - in Python2 was splitted into str and bytes in Python3, so here are two + in Python2 was split into str and bytes in Python3, so here are two types. Default is None. If not None, new_generator will be added into the prefix of unique name generated by :code:`generate()`.