Browse Source

!29960 Fix Chinese Doc API for the SearchMode

Merge pull request !29960 from huangxinjing/code_docs_fix_api_doc
feature/build-system-rewrite
i-robot Gitee 4 years ago
parent
commit
33c3a9e910
No known key found for this signature in database GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      docs/api/api_python/mindspore.context.rst

+ 1
- 0
docs/api/api_python/mindspore.context.rst View File

@@ -203,6 +203,7 @@ MindSpore context,用于配置当前执行环境,包括执行模式、执行
- recursive_programming:表示双递归搜索模式。
- dynamic_programming:表示动态规划搜索模式。

- **auto_parallel_search_mode** (str) - search_modes参数的兼容接口。将在后续的版本中删除。
- **parameter_broadcast** (bool) - 表示在训练前是否广播参数。在训练之前,为了使所有设备的网络初始化参数值相同,请将设备0上的参数广播到其他设备。不同并行模式下的参数广播不同。在data_parallel模式下,除layerwise_parallel属性为True的参数外,所有参数都会被广播。在hybrid_parallel、semi_auto_parallel和auto_parallel模式下,分段参数不参与广播。默认值:False。
- **strategy_ckpt_load_file** (str) - 表示用于加载并行策略checkpoint的路径。默认值:''。
- **strategy_ckpt_save_file** (str) - 表示用于保存并行策略checkpoint的路径。默认值:''。


Loading…
Cancel
Save