forked from mindspore-Ecosystem/mindspore
!21142 modify_note_for_Master
Merge pull request !21142 from lilei/modify_note_master
This commit is contained in:
commit
3ff3e6f57a
|
@ -59,10 +59,8 @@ def set_seed(seed):
|
|||
Examples:
|
||||
>>> import numpy as np
|
||||
>>> import mindspore.ops as ops
|
||||
>>> from mindspore import Tensor
|
||||
>>> from mindspore.common import set_seed
|
||||
>>> from mindspore import Tensor, set_seed, Parameter
|
||||
>>> from mindspore.common.initializer import initializer
|
||||
>>> from mindspore.common.parameter import Parameter
|
||||
>>>
|
||||
>>> # Note: (1) Please make sure the code is running in PYNATIVE MODE;
|
||||
>>> # (2) Because Composite-level ops need parameters to be Tensors, for below examples,
|
||||
|
|
Loading…
Reference in New Issue