diff --git a/python/paddle/fluid/dygraph/parallel.py b/python/paddle/fluid/dygraph/parallel.py index 936c6ee703439..90c71abbaaa8e 100644 --- a/python/paddle/fluid/dygraph/parallel.py +++ b/python/paddle/fluid/dygraph/parallel.py @@ -570,7 +570,7 @@ def __init__( assert ( in_dygraph_mode() - ), "It's not supported to construct DataParallel in static mode." + ), "It's not supported to construct DataParallel in static graph mode." self._layers = layers self.find_unused_parameters = find_unused_parameters