class_docstr: Maxpooling aggregator for graphsage
class_docstr_tok: ["Maxpooling","aggregator","for","graphsage"]
code: def aggre(self, neighbour):
      neighbour = self.linear(neighbour)
      if self.activation:
          neighbour = self.activation(neighbour)
      maxpool_neighbour = torch.max(neighbour, dim=1)[0]
      return maxpool_neighbour
  
imports: import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 2 for calling the MaxPoolAggregator obj's underlying member method code with example usage: obj.aggre(neighbour) and returns: maxpool_neighbour