From 58fbf4ea502fb6cedccbbb727b2efb80d61b4676 Mon Sep 17 00:00:00 2001 From: chenlong Date: Thu, 17 Sep 2020 15:34:18 +0800 Subject: [PATCH] fix error test=develop --- .../fluid/dygraph/dygraph_to_static/logging_utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/paddle/fluid/dygraph/dygraph_to_static/logging_utils.py b/python/paddle/fluid/dygraph/dygraph_to_static/logging_utils.py index c52872b1501..d47211e48d4 100644 --- a/python/paddle/fluid/dygraph/dygraph_to_static/logging_utils.py +++ b/python/paddle/fluid/dygraph/dygraph_to_static/logging_utils.py @@ -136,8 +136,8 @@ def set_verbosity(level=0): """ Sets the verbosity level of log for dygraph to static graph. There are two means to set the logging verbosity: - 1. Call function `set_verbosity` - 2. Set environment variable `TRANSLATOR_VERBOSITY` + 1. Call function `set_verbosity` + 2. Set environment variable `TRANSLATOR_VERBOSITY` **Note**: `set_verbosity` has a higher priority than the environment variable. @@ -172,8 +172,8 @@ def set_code_level(level=LOG_AllTransformer): """ Sets the level to print code from specific level of Ast Transformer. There are two means to set the code level: - 1. Call function `set_code_level` - 2. Set environment variable `TRANSLATOR_CODE_LEVEL` + 1. Call function `set_code_level` + 2. Set environment variable `TRANSLATOR_CODE_LEVEL` **Note**: `set_code_level` has a higher priority than the environment variable. -- GitLab