Skip to content

Commit

Permalink
Fix a typo in LSTM
Browse files Browse the repository at this point in the history
  • Loading branch information
shizhouxing committed Dec 7, 2023
1 parent bc47650 commit d129670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sequence/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test(epoch, batches):
acc, acc_robust, loss = step(model, ptb, batch)
meter.set_batch_size(len(batch))
meter.update('acc', acc)
meter.udpate('acc_rob', acc_robust)
meter.update('acc_rob', acc_robust)
meter.update('loss', loss)
logger.info("Epoch %d test: {%s}".format(epoch, meter))

Expand Down

0 comments on commit d129670

Please sign in to comment.