fix context comments

This commit is contained in:
liutongtong 2022-04-07 16:46:00 +08:00
parent 1eafa0e1cd
commit 16f4ce8c15
1 changed files with 5 additions and 3 deletions

View File

@ -21,7 +21,7 @@ MindSpore context用于配置当前执行环境包括执行模式、执行
| +------------------------------+----------------------------+
| | device_target | CPU/GPU/Ascend |
| +------------------------------+----------------------------+
| | max_device_memory | GPU |
| | max_device_memory | GPU/Ascend |
| +------------------------------+----------------------------+
| | variable_memory_max_size | Ascend |
| +------------------------------+----------------------------+
@ -67,9 +67,11 @@ MindSpore context用于配置当前执行环境包括执行模式、执行
| +------------------------------+----------------------------+
| | grad_for_scalar | CPU/GPU/Ascend |
| +------------------------------+----------------------------+
| | save_compile_cache | CPU/GPU/Ascend |
| | enable_compile_cache | CPU/GPU/Ascend |
| +------------------------------+----------------------------+
| | load_compile_cache | CPU/GPU/Ascend |
| | runtime_num_threads | CPU/GPU/Ascend |
| +------------------------------+----------------------------+
| | compile_cache_path | CPU/GPU/Ascend |
+-------------------------+------------------------------+----------------------------+
**参数:**