code: def _init_weights(self, m):
      if isinstance(m, nn.Linear):
          trunc_normal_(m.weight)
          if isinstance(m, nn.Linear) and m.bias is not None:
              zeros_(m.bias)
      elif isinstance(m, nn.LayerNorm):
          zeros_(m.bias)
          ones_(m.weight)
  
file_path: PaddleOCR/ppocr/modeling/backbones/rec_vitstr.py
imports: import numpy
  import paddle
  import paddle.nn
  from ppocr.modeling.backbones.rec_svtrnet import Block, PatchEmbed, zeros_, trunc_normal_, ones_
label_desc: Use image node_id 2 for calling the ViTSTR obj's underlying member method code with example usage: obj._init_weights(m) without return types