code: def gap2d(_w_in):
      """Helper for building a gap2d layer."""
      return nn.AdaptiveAvgPool2d((1, 1))
  
imports: import numpy
  import torch
  import torch.nn
  from pycls.core.config import cfg
  from torch.nn import Module
label_desc: Use image node_id 5 for calling a global function with example usage: gap2d(_w_in) and returns: nn