Browse Source

!1011 Modify example of enable dump in context

Merge pull request !1011 from ghzl/improve-comment-enable-dump-context
tags/v0.3.0-alpha
mindspore-ci-bot Gitee 5 years ago
parent
commit
91cefc4f9d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/context.py

+ 1
- 1
mindspore/context.py View File

@@ -548,7 +548,7 @@ def set_context(**kwargs):
>>> context.set_context(enable_reduce_precision=True)
>>> context.set_context(save_ms_model=True, save_ms_model_path=".")
>>> 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(enable_dynamic_memory=True)
>>> context.set_context(graph_memory_max_size="25GB")


Loading…
Cancel
Save