forked from huawei/mindspore2022
fix context comments
This commit is contained in:
parent
1eafa0e1cd
commit
16f4ce8c15
|
|
@ -21,7 +21,7 @@ MindSpore context,用于配置当前执行环境,包括执行模式、执行
|
||||||
| +------------------------------+----------------------------+
|
| +------------------------------+----------------------------+
|
||||||
| | device_target | CPU/GPU/Ascend |
|
| | device_target | CPU/GPU/Ascend |
|
||||||
| +------------------------------+----------------------------+
|
| +------------------------------+----------------------------+
|
||||||
| | max_device_memory | GPU |
|
| | max_device_memory | GPU/Ascend |
|
||||||
| +------------------------------+----------------------------+
|
| +------------------------------+----------------------------+
|
||||||
| | variable_memory_max_size | Ascend |
|
| | variable_memory_max_size | Ascend |
|
||||||
| +------------------------------+----------------------------+
|
| +------------------------------+----------------------------+
|
||||||
|
|
@ -67,9 +67,11 @@ MindSpore context,用于配置当前执行环境,包括执行模式、执行
|
||||||
| +------------------------------+----------------------------+
|
| +------------------------------+----------------------------+
|
||||||
| | grad_for_scalar | CPU/GPU/Ascend |
|
| | 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 |
|
||||||
+-------------------------+------------------------------+----------------------------+
|
+-------------------------+------------------------------+----------------------------+
|
||||||
|
|
||||||
**参数:**
|
**参数:**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue