code: def forward(self, inputs):
      out = [inputs]
      y = self.conv1_1(inputs)
      out.append(y)
      y = self.pool2d_max(y)
      for block in self.stages:
          y = block(y)
          out.append(y)
      return out
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  from paddle import ParamAttr
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 2 for calling the ResNet obj's underlying member method code with example usage: obj.forward(inputs) and returns: out