!2545 Remove the comment for the example of ControlDepend

Merge pull request !2545 from zhangbuxue/remove_the_comment_for_the_example
pull/2545/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 68cf8b86ed

@ -47,8 +47,6 @@ class ControlDepend(Primitive):
Bool. This operation has no actual data output, it will be used to setup the order of relative operations. Bool. This operation has no actual data output, it will be used to setup the order of relative operations.
Examples: Examples:
>>> # In the following example, the data calculation uses original global_step. After the calculation the global
>>> # step should be increased, so the add operation should depend on the data calculation operation.
>>> class Net(nn.Cell): >>> class Net(nn.Cell):
>>> def __init__(self): >>> def __init__(self):
>>> super(Net, self).__init__() >>> super(Net, self).__init__()

Loading…
Cancel
Save