code: def forward(self, inputs):
      x = inputs["image"]
      outs = []
      for i, layer in enumerate(self.base):
          x = layer(x)
          if i in self.return_idx:
              outs.append(x)
      return outs
  
file_path: PaddleDetection/ppdet/modeling/backbones/hardnet.py
imports: import paddle
  import paddle.nn
  from ppdet.core.workspace import register
  from ..shape_spec import ShapeSpec
label_desc: Use image node_id 2 for calling the HarDNet obj's underlying member method code with example usage: obj.forward(inputs) and returns: outs