code: def residual_unit_v3(
      self, in_data, num_filter, filter_size, stride, pad, is_train
  ):
      bn1 = paddle.static.nn.batch_norm(
          input=in_data,
          act=None,
          epsilon=1e-05,
          momentum=0.9,
          is_test=False if is_train else True,
      )
      conv1 = paddle.static.nn.conv2d(
          input=bn1,
          num_filters=num_filter,
          filter_size=filter_size,
          stride=1,
          padding=1,
          groups=1,
          param_attr=paddle.ParamAttr(),
          bias_attr=False,
      )
      bn2 = paddle.static.nn.batch_norm(
          input=conv1,
          act=None,
          epsilon=1e-05,
          momentum=0.9,
          is_test=False if is_train else True,
      )
      # prelu = paddle.nn.functional.relu6(bn2)
      prelu = paddle.static.nn.prelu(
          bn2,
          mode="all",
          param_attr=paddle.ParamAttr(
              initializer=paddle.nn.initializer.Constant(0.25)
          ),
      )
      conv2 = paddle.static.nn.conv2d(
          input=prelu,
          num_filters=num_filter,
          filter_size=filter_size,
          stride=stride,
          padding=pad,
          groups=1,
          param_attr=paddle.ParamAttr(),
          bias_attr=False,
      )
      bn3 = paddle.static.nn.batch_norm(
          input=conv2,
          act=None,
          epsilon=1e-05,
          momentum=0.9,
          is_test=False if is_train else True,
      )
  
      if stride == 1:
          input_blob = in_data
      else:
          input_blob = paddle.static.nn.conv2d(
              input=in_data,
              num_filters=num_filter,
              filter_size=1,
              stride=stride,
              padding=0,
              groups=1,
              param_attr=paddle.ParamAttr(),
              bias_attr=False,
          )
  
          input_blob = paddle.static.nn.batch_norm(
              input=input_blob,
              act=None,
              epsilon=1e-05,
              momentum=0.9,
              is_test=False if is_train else True,
          )
  
      identity = paddle.add(bn3, input_blob)
      return identity
  
file_path: insightface/recognition/arcface_paddle/static/backbones/iresnet.py
imports: import paddle
  from collections import OrderedDict
label_desc: Use image node_id 2 for calling the FresResNet obj's underlying member method code with example usage: obj.residual_unit_v3(in_data, num_filter, filter_size, stride, pad, is_train) and returns: identity