From d798325127bc68bfc263aebd02c5e1d4a8c65104 Mon Sep 17 00:00:00 2001 From: hongxing Date: Fri, 19 Jun 2020 11:30:38 +0100 Subject: [PATCH] supplement description about default value --- mindspore/context.py | 2 +- mindspore/parallel/_auto_parallel_context.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mindspore/context.py b/mindspore/context.py index 075ae250ab0..2adeb68dc0f 100644 --- a/mindspore/context.py +++ b/mindspore/context.py @@ -415,7 +415,7 @@ def set_auto_parallel_context(**kwargs): - auto_parallel: Achieving parallelism automatically. auto_parallel_search_mode (str): There are two kinds of search modes, "recursive_programming" - and "dynamic_programming". + and "dynamic_programming". Default: "dynamic_programming". - recursive_programming: Recursive programming search mode. diff --git a/mindspore/parallel/_auto_parallel_context.py b/mindspore/parallel/_auto_parallel_context.py index 56152a380a6..74250f12e5a 100644 --- a/mindspore/parallel/_auto_parallel_context.py +++ b/mindspore/parallel/_auto_parallel_context.py @@ -482,7 +482,7 @@ def _set_auto_parallel_context(**kwargs): - auto_parallel: Achieving parallelism automatically. auto_parallel_search_mode (str): There are two kinds of search modes, "recursive_programming" - and "dynamic_programming". + and "dynamic_programming". Default: "dynamic_programming". - recursive_programming: Recursive programming search mode.