code: def __init__(self, ratio):
      super().__init__()
      self.pool = nn.ModuleList()
      for i in range(0, ratio):
          self.pool.append(nn.AvgPool2d(3, stride=2, padding=1))
  
imports: import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 1 to create a new InputInjection object from inherited base classes: nn with example: obj = InputInjection(ratio)