code: def from_config(cls, loss_config: AttrDict):
      return cls(loss_config)
  
file_path: vissl/vissl/losses/ibot_distillation_loss.py
imports: import pprint
  from typing import List, Optional
  import torch
  import torch.nn.functional
  from classy_vision.losses import ClassyLoss, register_loss
  from vissl.config import AttrDict
label_desc: Use image node_id 2 for calling the IBOTDistillationLoss obj's underlying member method code with example usage: obj.from_config(cls, loss_config) and returns: cls