class_docstr: Callback that records events into a `History` object.
  
  This callback is automatically applied to
  every SuperModule.
class_docstr_tok: ["Callback","that","records","events","into","a","`","History","`","object",".","This","callback","is","automatically","applied","to","every","SuperModule","."]
code: def __init__(self, trainer):
      super(History, self).__init__()
      self.samples_seen = 0.0
      self.trainer = trainer
  
file_path: pywick/pywick/callbacks/History.py
imports: from .None import Callback
label_desc: Use image node_id 1 to create a new History object from inherited base classes: Callback with example: obj = History(trainer)