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
class_docstr_tok: ["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 tensorflow
  from tensorflow.keras import layers
  from ...readout import max_nodes, mean_nodes, softmax_nodes, sum_nodes, topk_nodes
label_desc: Use image node_id 1 to create a new AvgPooling object from inherited base classes: layers with example: obj = AvgPooling()