class_docstr: Apply average pooling over the nodes in the graph.
  
  .. math::
      r^{(i)} = \frac{1}{N_i}\sum_{k=1}^{N_i} x^{(i)}_k
code: def __init__(self):
      super(AvgPooling, self).__init__()
  
imports: import torch
  from .....data.data import from_batch
  from ..base import PoolingBase
label_desc: Use image node_id 1 to create a new AvgPooling object from inherited base classes: PoolingBase with example: obj = AvgPooling()