class_docstr: Specific head for distilling iBOT (https://arxiv.org/pdf/2111.07832.pdf).
class_docstr_tok: ["Specific","head","for","distilling","iBOT","(","https",":","\/\/arxiv.org\/pdf\/2111.07832.pdf",")","."]
code: def forward_global_views(self, x):
      x = self.mlp(x)
      x1 = self.to_class_out(x[:, 0])
      x2 = self.to_patch_out(x[:, 1:])
  
      if self.last_norm is not None:
          x1 = self.last_norm(x1)
          x2 = self.last_norm2(x2)
  
      # Return the class embedding first, patch embedding second
      return [x1, x2]
  
file_path: vissl/vissl/models/heads/ibot_distillation_head.py
imports: from typing import Optional
  import torch.nn
  from vissl.config import AttrDict
  from vissl.models.heads import register_model_head
  from vissl.models.heads.ibot_head import CustomSequential
  from vissl.models.model_helpers import trunc_normal_
label_desc: Use image node_id 7 for calling the IBOTDistillationHead obj's underlying member method code with example usage: obj.forward_global_views(x) and returns: list