code: def init_weights_vit_timm(module: nn.Module, name: str = ""):
      """ViT weight initialization, original timm impl (for reproducibility)"""
      if isinstance(module, nn.Linear):
          trunc_normal_(module.weight, std=0.02)
          if module.bias is not None:
              nn.init.zeros_(module.bias)
  
imports: from functools import partial
  import math
  import logging
  from typing import Sequence, Tuple, Union, Callable
  import torch
  import torch.nn
  import torch.utils.checkpoint
  from torch.nn.init import trunc_normal_
  from dinov2.layers import Mlp, PatchEmbed, SwiGLUFFNFused, MemEffAttention, NestedTensorBlock
label_desc: Use image node_id 2 for calling a global function with example usage: init_weights_vit_timm(module, name) without return types