Remove the comment for the example

pull/2545/head
buxue 5 years ago
parent a5c7d7f6ca
commit 3d116adda4

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