class_docstr: AWD-LSTM inspired by https://arxiv.org/abs/1708.02182
class_docstr_tok: ["AWD-LSTM","inspired","by","https",":","\/\/arxiv.org\/abs\/1708.02182"]
docstr: Return one of the inner rnn
docstr_tok: ["Return","one","of","the","inner","rnn"]
code: def _one_rnn(self, n_in, n_out, bidir, weight_p, l):
      "Return one of the inner rnn"
      rnn = nn.LSTM(
          n_in, n_out, 1, batch_first=True, bidirectional=bidir
      )
      return WeightDropout(rnn, weight_p)
  
imports: from __future__ import annotations
  from ...data.all import *
  from ..core import *
label_desc: Use image node_id 4 for calling the AWD_LSTM obj's underlying member method code with example usage: obj._one_rnn(n_in, n_out, bidir, weight_p, l) and returns: WeightDropout