code: def update(self, cfg: dict):
      self.__dict__.update(cfg)
  
file_path: lavis/lavis/models/beats/Tokenizers.py
imports: import torch
  import torch.nn
  from torch.nn import LayerNorm
  import torchaudio.compliance.kaldi
  from lavis.models.beats.backbone import TransformerEncoder
  from lavis.models.beats.quantizer import NormEMAVectorQuantizer
  import logging
  from typing import Optional
label_desc: Use image node_id 2 for calling the TokenizersConfig obj's underlying member method code with example usage: obj.update(cfg) without return types