pytorch
8e7b4067 - 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: D18458751 Pulled By: eellison fbshipit-source-id: 07c71838f21cb5425e8d6dbd4a512f774c8c2970
Author
Elias Ellison
Parents
Loading