class_docstr: Selectable global pooling layer with dynamic input kernel size
      
class_docstr_tok: ["Selectable","global","pooling","layer","with","dynamic","input","kernel","size"]
code: def factor(self):
      return pooling_factor(self.pool_type)
  
file_path: pywick/pywick/models/classification/dpn/adaptive_avgmax_pool.py
imports: import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 3 for calling the AdaptiveAvgMaxPool2d obj's underlying member method code with example usage: obj.factor() and returns: pooling_factor