code: def __init__(
      self,
      feature_dim=128,
      bottleneck_setting=MobileFaceNet_BottleNeck_Setting,
      **args,
  ):
      super().__init__()
      self.conv1 = ConvBlock(3, 64, 3, 2, 1)
      self.dw_conv1 = ConvBlock(64, 64, 3, 1, 1, dw=True)
  
      self.cur_channel = 64
      block = BottleNeck
      self.blocks = self._make_layer(block, bottleneck_setting)
  
      self.conv2 = ConvBlock(128, 512, 1, 1, 0)
      self.linear7 = ConvBlock(512, 512, 7, 1, 0, dw=True, linear=True)
      self.linear1 = ConvBlock(512, feature_dim, 1, 1, 0, linear=True)
  
      for m in self.sublayers():
          if isinstance(m, nn.Conv2D):
              # ks * ks * out_ch
              n = (
                  m.weight.shape[1]
                  * m.weight.shape[2]
                  * m.weight.shape[3]
              )
              m.weight = paddle.create_parameter(
                  shape=m.weight.shape,
                  dtype=m.weight.dtype,
                  default_initializer=nn.initializer.Normal(
                      mean=0.0, std=math.sqrt(2.0 / n)
                  ),
              )
  
          elif isinstance(
              m, (nn.BatchNorm, nn.BatchNorm2D, nn.GroupNorm)
          ):
              m.weight = paddle.create_parameter(
                  shape=m.weight.shape,
                  dtype=m.weight.dtype,
                  default_initializer=nn.initializer.Constant(
                      value=1.0
                  ),
              )
              m.bias = paddle.create_parameter(
                  shape=m.bias.shape,
                  dtype=m.bias.dtype,
                  default_initializer=nn.initializer.Constant(
                      value=0.0
                  ),
              )
  
file_path: insightface/recognition/arcface_paddle/dynamic/backbones/mobilefacenet.py
imports: import paddle
  from paddle import nn
  import math
label_desc: Use image node_id 1 to create a new MobileFaceNet object from inherited base classes: nn with example: obj = MobileFaceNet(feature_dim, bottleneck_setting)