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 hidden state
docstr_tok: ["Return","one","hidden","state"]
code: def _one_hidden(self, l):
      "Return one hidden state"
      nh = (
          self.n_hid if l != self.n_layers - 1 else self.emb_sz
      ) // self.n_dir
      return (
          one_param(self).new_zeros(self.n_dir, self.bs, nh),
          one_param(self).new_zeros(self.n_dir, self.bs, nh),
      )
  
imports: from __future__ import annotations
  from ...data.all import *
  from ..core import *
label_desc: Use image node_id 5 for calling the AWD_LSTM obj's underlying member method code with example usage: obj._one_hidden(l) and returns: one_param,  one_param