class_docstr: Basic class handling tweaks of the training loop by changing a `Learner` in various events
class_docstr_tok: ["Basic","class","handling","tweaks","of","the","training","loop","by","changing","a","`","Learner","`","in","various","events"]
code: def __init__(self, **kwargs):
      assert not kwargs, f"Passed unknown events: {kwargs}"
  
imports: from __future__ import annotations
  from ..data.all import *
  from ..optimizer import *
  from ..losses import BaseLoss
label_desc: Use image node_id 1 to create a new Callback object from inherited base classes: Stateful, GetAttr with example: obj = Callback()