提交 91cefc4f 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!1011 Modify example of enable dump in context

Merge pull request !1011 from ghzl/improve-comment-enable-dump-context
...@@ -548,7 +548,7 @@ def set_context(**kwargs): ...@@ -548,7 +548,7 @@ def set_context(**kwargs):
>>> context.set_context(enable_reduce_precision=True) >>> context.set_context(enable_reduce_precision=True)
>>> context.set_context(save_ms_model=True, save_ms_model_path=".") >>> context.set_context(save_ms_model=True, save_ms_model_path=".")
>>> context.set_context(enable_gpu_summary=False) >>> context.set_context(enable_gpu_summary=False)
>>> context.set_context(enable_dump=False, save_dump_path=".") >>> context.set_context(enable_dump=True, save_dump_path=".")
>>> context.set_context(reserve_class_name_in_scope=True) >>> context.set_context(reserve_class_name_in_scope=True)
>>> context.set_context(enable_dynamic_memory=True) >>> context.set_context(enable_dynamic_memory=True)
>>> context.set_context(graph_memory_max_size="25GB") >>> context.set_context(graph_memory_max_size="25GB")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册