class_docstr: Downsampling module for CGNet.
class_docstr_tok: ["Downsampling","module","for","CGNet","."]
code: def __init__(self, num_downsampling):
      super(InputInjection, self).__init__()
      self.pool = nn.ModuleList()
      for i in range(num_downsampling):
          self.pool.append(nn.AvgPool2d(3, stride=2, padding=1))
  
imports: import torch
  import torch.nn
  import torch.utils.checkpoint
  from annotator.uniformer.mmcv.cnn import ConvModule, build_conv_layer, build_norm_layer, constant_init, kaiming_init
  from annotator.uniformer.mmcv.runner import load_checkpoint
  from annotator.uniformer.mmcv.utils.parrots_wrapper import _BatchNorm
  from annotator.uniformer.mmseg.utils import get_root_logger
  from ..builder import BACKBONES
label_desc: Use image node_id 1 to create a new InputInjection object from inherited base classes: nn with example: obj = InputInjection(num_downsampling)