class_docstr: `Callback` that resets the model at each validation/training step
class_docstr_tok: ["`","Callback","`","that","resets","the","model","at","each","validation\/training","step"]
code: def before_train(self):
      self.model.reset()
  
file_path: fastai/fastai/callback/rnn.py
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 1 for calling the ModelResetter obj's underlying member method code with example usage: obj.before_train() without return types