class_docstr: Transformer encoder
  Encoder encoder contains a list of EncoderLayer, and a LayerNorm.
  Attributes:
      layers: nn.LayerList contains multiple EncoderLayers
      encoder_norm: nn.LayerNorm which is applied after last encoder layer
code: def _init_weights(self):
      weight_attr = paddle.ParamAttr(
          initializer=nn.initializer.Constant(1.0)
      )
      bias_attr = paddle.ParamAttr(
          initializer=nn.initializer.Constant(0.0)
      )
      return weight_attr, bias_attr
  
imports: import copy
  import paddle
  import paddle.nn
  from disco_diffusion_ernievil_base.vit_b_16x.ernievil2.transformers.droppath import DropPath
label_desc: Use image node_id 2 for calling the Encoder obj's underlying member method code with example usage: obj._init_weights() and returns: weight_attr,  bias_attr