Browse Source

modify comment for def set_context

tags/v0.5.0-beta
changzherui 6 years ago
parent
commit
be623a4266
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      mindspore/context.py

+ 0
- 1
mindspore/context.py View File

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


Note: Note:
Attribute name is required for setting attributes. 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: Args:
mode (int): Running in GRAPH_MODE(0) or PYNATIVE_MODE(1). Default: PYNATIVE_MODE. mode (int): Running in GRAPH_MODE(0) or PYNATIVE_MODE(1). Default: PYNATIVE_MODE.


Loading…
Cancel
Save