Fix type annotation error. (#15448)
authorEdward Yang <ezyang@fb.com>
Thu, 20 Dec 2018 22:26:23 +0000 (14:26 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 20 Dec 2018 22:47:57 +0000 (14:47 -0800)
commitcde26c659ed03143c45550be45fe9918bc0a1c53
tree215094e00e9b8d2b37a1583b532f7bb02941cde9
parentc24a124fa0df4199d9180cc009c5b5e8ff88bba3
Fix type annotation error. (#15448)

Summary:
According to mypy, the trailing -> None is mandatory.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15448

Differential Revision: D13532179

Pulled By: ezyang

fbshipit-source-id: e8972f8c9ada4657c518cd7bcd46e489ab8ddf5f
torch/nn/modules/rnn.py