pytorch
681b610f - use new overload mechanism for rnns (#29614)

Commit
5 years ago
use new overload mechanism for rnns (#29614) Summary: Uses new overload mechanism for rnns, making it so that python & torchscript go through the same path and using an API that is in line with the one specified in https://docs.python.org/3/library/typing.html#typing.overload This brings the TorchScriptable rnns closer to the base implementation; unifying them should be done in a follow up PR but there are still a few limitations that make it difficult to do so. Pull Request resolved: https://github.com/pytorch/pytorch/pull/29614 Differential Revision: D18486982 Pulled By: eellison fbshipit-source-id: aaaea66a4a7f12d2e46199ca254f9e8f7475500e
Author
Elias Ellison
Parents
Loading