code: def forward(self, inputs):
      x = self.expand_conv(inputs)
      x = self.bottleneck_conv(x)
      if self.if_se:
          x = self.mid_se(x)
      x = self.linear_conv(x)
      if self.if_shortcut:
          x = paddle.add(inputs, x)
      return x
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  from paddle import nn
  import paddle.nn.functional
  from paddle import ParamAttr
label_desc: Use image node_id 2 for calling the ResidualUnit obj's underlying member method code with example usage: obj.forward(inputs) and returns: x