code: def train(self, mode=True):
      super(ResLayer, self).train(mode)
      if self.norm_eval:
          for m in self.modules():
              if isinstance(m, nn.BatchNorm2d):
                  m.eval()
  
file_path: insightface/detection/scrfd/mmdet/models/roi_heads/shared_heads/res_layer.py
imports: import torch.nn
  from mmcv.cnn import constant_init, kaiming_init
  from mmcv.runner import auto_fp16, load_checkpoint
  from mmdet.models.backbones import ResNet
  from mmdet.models.builder import SHARED_HEADS
  from mmdet.models.utils import ResLayer
  from mmdet.utils import get_root_logger
label_desc: Use image node_id 4 for calling the ResLayer obj's underlying member method code with example usage: obj.train(mode) without return types