From db610e7c373fd3a3824391d3a0e05dbc30887525 Mon Sep 17 00:00:00 2001 From: zhangyihui Date: Mon, 8 Feb 2021 15:38:25 +0800 Subject: [PATCH] Modify the context comment document --- mindspore/context.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mindspore/context.py b/mindspore/context.py index 33818071c9..1357522cb1 100644 --- a/mindspore/context.py +++ b/mindspore/context.py @@ -551,6 +551,7 @@ def set_context(**kwargs): enable_profiling (bool): Whether to open profiling. Default: False. profiling_options (str): Set profiling collection options, operators can profiling data here. The values of profiling collection options are as follows, supporting the collection of multiple data. + - output: the saving the path of the profiling collection result file. The directory spectified by this parameter needs to be created in advance on the training environment (container or host side) and ensure that the running user configured during installation has read and write permissions.It supports the @@ -586,6 +587,7 @@ def set_context(**kwargs): Memory: percentage of external memory read and write instructions. MemoryL0: percentage of internal memory read and write instructions. ResourceConflictRatio: proportion of pipline queue instructions. + The profiling_options is like '{"output":'/home/data/output','training_trace':'on'}' check_bprop (bool): Whether to check bprop. Default: False.