!24992 context api master 1015

Merge pull request !24992 from mindspore_ding/code_docs_master_1015
This commit is contained in:
i-robot 2021-10-15 09:09:09 +00:00 committed by Gitee
commit f14d611a36
1 changed files with 1 additions and 1 deletions

View File

@ -678,7 +678,7 @@ def set_context(**kwargs):
- 0: Disable graph kernel fusion;
- 1: enable the basic fusion of operators;
- 2: includes all optimizations of level 1,
and turns on more optimizations such as CSE, arithmetic simplication and so on;
and turns on more optimizations such as CSE, arithmetic simplification and so on;
- 3: includes all optimizations of level 2, and turns on more optimizations such as SitchingFusion,
ParallelFusion and so on. Optimizations of this level are radical and unstable in some scenarios.
Be caution when using this level.