!21142 modify_note_for_Master

Merge pull request !21142 from lilei/modify_note_master
This commit is contained in:
i-robot 2021-08-02 11:10:43 +00:00 committed by Gitee
commit 3ff3e6f57a
1 changed files with 1 additions and 3 deletions

View File

@ -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,