code: def __init__(self, in_channels):
      super().__init__()
      self.conv = torch.nn.Conv2d(
          in_channels, in_channels, kernel_size=3, stride=2, padding=0
      )
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from basicsr.utils import get_root_logger
  from basicsr.utils.registry import ARCH_REGISTRY
label_desc: Use image node_id 1 to create a new Downsample object from inherited base classes: nn with example: obj = Downsample(in_channels)