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: Reset the hidden states
docstr_tok: ["Reset","the","hidden","states"]
code: def reset(self):
      "Reset the hidden states"
      [r.reset() for r in self.rnns if hasattr(r, "reset")]
      self.hidden = [self._one_hidden(l) for l in range(self.n_layers)]
  
imports: from __future__ import annotations
  from ...data.all import *
  from ..core import *
label_desc: Use image node_id 7 for calling the AWD_LSTM obj's underlying member method code with example usage: obj.reset() without return types