code: def from_config(cls, config):
      config = copy.deepcopy(config)
      return cls(**config)
  
file_path: ClassyVision/classy_vision/heads/vision_transformer_head.py
imports: import copy
  from collections import OrderedDict
  from typing import Optional
  import torch.nn
  from classy_vision.heads import ClassyHead, register_head
  from ..models.lecun_normal_init import lecun_normal_init
label_desc: Use image node_id 3 for calling the VisionTransformerHead obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls