class_docstr: VCOPHeader module
docstr: VCOPHeader for all-in-one
docstr_tok: ["VCOPHeader","for","all-in-one"]
code: def __init__(self, tuple_len=3, feature_size=768):
      """
      VCOPHeader for all-in-one
      """
      super().__init__()
      self.feature_size = feature_size
      self.fc7 = nn.Linear(self.feature_size * 2, 512)
      self.tuple_len = tuple_len
      pair_num = int(tuple_len * (tuple_len - 1) / 2)
      self.class_num = math.factorial(tuple_len)
      self.fc8 = nn.Linear(512 * pair_num, self.class_num)
      self.dropout = nn.Dropout(p=0.5)
      self.relu = nn.ReLU(inplace=True)
  
imports: from torch import nn
  import torch
  import math
label_desc: Use image node_id 1 to create a new VCOPHeader object from inherited base classes: torch.nn with example: obj = VCOPHeader(tuple_len, feature_size)