class_docstr: Set runner's epoch information to the model.
class_docstr_tok: ["Set","runner","'s","epoch","information","to","the","model","."]
code: def after_train_epoch(self, runner) -> None:
      if runner.epoch >= self.stop_iter_or_epoch - 1:
          raise RuntimeError("quick exit")
  
imports: from mmengine.hooks import Hook
  from mmdet.registry import HOOKS
label_desc: Use image node_id 3 for calling the FastStopTrainingHook obj's underlying member method code with example usage: obj.after_train_epoch(runner) without return types