!32401 add mode docs in context

Merge pull request !32401 from liutongtong9/code_docs_fixdocs
This commit is contained in:
i-robot 2022-04-02 01:56:09 +00:00 committed by Gitee
commit 7be07ce3d0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ MindSpore context用于配置当前执行环境包括执行模式、执行
配置Running Data Recorder
- **enable**表示在发生故障时是否启用Running Data Recorder去收集和保存训练中的关键数据。设置为True时将打开Running Data Recorder。设置为False时将关闭Running Data Recorder。
- **mode**指定在GRAPH_MODE(0)还是PYNATIVE_MODE(1)下运行两种模式均支持所有后端。默认值GRAPH_MODE(0)。
- **path**设置Running Data Recorder保存数据的路径。当前路径必须是一个绝对路径。
内存重用: