diff --git a/docs/api/api_python/mindspore.context.rst b/docs/api/api_python/mindspore.context.rst index fe9aa0cb047..ea54ac4d1f5 100644 --- a/docs/api/api_python/mindspore.context.rst +++ b/docs/api/api_python/mindspore.context.rst @@ -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 | +-------------------------+------------------------------+----------------------------+ **参数:**