code: def forward(self, x):
      x = self.lastact(x)
      x = self.global_pooling(x)
      x = x.view(x.size(0), -1)
      logits = self.classifier(x)
      return logits
  
imports: import torch.nn
label_desc: Use image node_id 2 for calling the top obj's underlying member method code with example usage: obj.forward(x) and returns: logits