Skip to content

Commit

Permalink
Fixed some doc
Browse files Browse the repository at this point in the history
  • Loading branch information
neubig committed May 25, 2017
1 parent 2bb4d9b commit 55266dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/source/minibatch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ To take full advantage of this, you will want to create a big computation graph
.. code-block:: python
for minibatch in training_data:
dy.renew_cg()
losses = []
for x, y in minibatch:
l = calculate_my_loss(x, y)
Expand Down

0 comments on commit 55266dc

Please sign in to comment.