class_docstr: ### Down-sample
  
  Each step in the contracting path down-samples the feature map with
  a $2        imes 2$ max pooling layer.
class_docstr_tok: ["#","#","#","Down-sample","Each","step","in","the","contracting","path","down-samples","the","feature","map","with","a","$","2","imes","2","$","max","pooling","layer","."]
code: def forward(self, x: torch.Tensor):
      return self.pool(x)
  
imports: import torch
  import torchvision.transforms.functional
  from torch import nn
label_desc: Use image node_id 2 for calling the DownSample obj's underlying member method code with example usage: obj.forward(x) and returns: self