class_docstr: GlobalHead
class_docstr_tok: ["GlobalHead"]
code: def __init__(self, w_in, nc, pp=3):
      super().__init__()
      self.pool = GeneralizedMeanPoolingP(norm=pp)
      self.fc = nn.Linear(w_in, nc, bias=True)
  
imports: import torch
  from torch import nn
label_desc: Use image node_id 1 to create a new GlobalHead object from inherited base classes: nn with example: obj = GlobalHead(w_in, nc, pp)