code: def __init__(self, pool_size=3):
      super().__init__()
      self.pool = nn.AvgPool2d(
          pool_size,
          stride=1,
          padding=pool_size // 2,
          count_include_pad=False,
      )
  
imports: from torch import nn
label_desc: Use image node_id 1 to create a new Pooling object from inherited base classes: nn with example: obj = Pooling(pool_size)