Browse Source

!2545 Remove the comment for the example of ControlDepend

Merge pull request !2545 from zhangbuxue/remove_the_comment_for_the_example
tags/v0.6.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
68cf8b86ed
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      mindspore/ops/operations/control_ops.py

+ 0
- 2
mindspore/ops/operations/control_ops.py View File

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

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):
>>> def __init__(self):
>>> super(Net, self).__init__()


Loading…
Cancel
Save