Browse Source

!2278 modify comment for def set_context

Merge pull request !2278 from changzherui/mod_comment
tags/v0.5.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
0b70d7a0d0
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      mindspore/context.py

+ 0
- 1
mindspore/context.py View File

@@ -490,7 +490,6 @@ def set_context(**kwargs):

Note:
Attribute name is required for setting attributes.
If need to config graph max memory size and variable max memory size, one must make sure:

Args:
mode (int): Running in GRAPH_MODE(0) or PYNATIVE_MODE(1). Default: PYNATIVE_MODE.


Loading…
Cancel
Save