forked from mindspore-Ecosystem/mindspore
modify comment for def set_context
This commit is contained in:
parent
05eeedec36
commit
be623a4266
|
@ -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…
Reference in New Issue