code: def __setattr__(self, name, value):
      match = re.match(_NAME_PARSER, name)
      if match:
          sub = safe_getattr(self, match[1])
          setattr(sub, match[2], value)
      else:
          super().__setattr__(name, value)
  
file_path: fairseq/fairseq/models/transformer/transformer_config.py
imports: import re
  from dataclasses import dataclass, field, fields
  from typing import List, Optional
  from omegaconf import II
  from fairseq import utils
  from fairseq.dataclass import ChoiceEnum, FairseqDataclass
  from fairseq.utils import safe_getattr, safe_hasattr
label_desc: Use image node_id 2 for calling the TransformerConfig obj's underlying member method code with example usage: obj.__setattr__(name, value) without return types