link to documentation for RNNBase.flatten_parameters() (#29196)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/28658

I have added the link to the docs for `flatten_parameters`.

RNNBase is a superclass of RNN, LSTM and GRM classes. Should I add a link to `flatten_parameters()` in those sections as well ?
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29196

Differential Revision: D18326815

Pulled By: ezyang

fbshipit-source-id: 4239019112e77753a0820aea95c981a2c868f5b0
This commit is contained in:
Prasun Anand 2019-11-05 09:43:40 -08:00 committed by Facebook Github Bot
parent f32ab6157b
commit c99cdfeb7d

View File

@ -496,6 +496,12 @@ Normalization layers
Recurrent layers
----------------------------------
:hidden:`RNNBase`
~~~~~~~~~~~~~
.. autoclass:: RNNBase
:members:
:hidden:`RNN`
~~~~~~~~~~~~~