class_docstr: VCOPHeader module
docstr: forward function
docstr_tok: ["forward","function"]
code: def forward(self, x):
      """
      forward function
      """
      pf = []  # pairwise concat
      for i in range(self.tuple_len):
          for j in range(i + 1, self.tuple_len):
              pf.append(torch.cat([x[:, i], x[:, j]], dim=1))
      pf = [self.fc7(i) for i in pf]
      pf = [self.relu(i) for i in pf]
      h = torch.cat(pf, dim=1)
      h = self.dropout(h)
      h = self.fc8(h)  # logits
      return h
  
imports: from torch import nn
  import torch
  import math
label_desc: Use image node_id 2 for calling the VCOPHeader obj's underlying member method code with example usage: obj.forward(x) and returns: h