class_docstr: Set runner's epoch information to the model.
class_docstr_tok: ["Set","runner","'s","epoch","information","to","the","model","."]
code: def before_train_epoch(self, runner):
      epoch = runner.epoch
      model = runner.model
      if is_model_wrapper(model):
          model = model.module
      model.set_epoch(epoch)
  
imports: from mmengine.hooks import Hook
  from mmengine.model.wrappers import is_model_wrapper
  from mmdet.registry import HOOKS
label_desc: Use image node_id 1 for calling the SetEpochInfoHook obj's underlying member method code with example usage: obj.before_train_epoch(runner) without return types