code: def forward(self, x):
      res = []
      for name, module in self.model._sub_layers.items():
          x = module(x)
          if name in ["4", "5", "6"]:
              res.append(x)
      return res
  
file_path: PaddleSeg/contrib/QualityInspector/qinspector/uad/models/stfpm.py
imports: import paddle
  import paddle.nn
  from paddle.vision.models.resnet import resnet18, resnet34, resnet50, resnet101
  from qinspector.cvlib.workspace import register
label_desc: Use image node_id 2 for calling the ResNet_MS3 obj's underlying member method code with example usage: obj.forward(x) and returns: res