class_docstr: Agregates received edges into the corresponding receiver nodes.
class_docstr_tok: ["Agregates","received","edges","into","the","corresponding","receiver","nodes","."]
docstr: Constructor.
  
  The reducer is used for combining per-edge features (one set of edge
  feature vectors per node) to give per-node features (one feature
  vector per node). The reducer should take a `Tensor` of edge features, a
  `Tensor` of segment indices, and a number of nodes. It should be invariant
  under permutation of edge features within each segment.
  
  Examples of compatible reducers are:
  * tf.math.unsorted_segment_sum
  * tf.math.unsorted_segment_mean
  * tf.math.unsorted_segment_prod
  * unsorted_segment_min_or_zero
  * unsorted_segment_max_or_zero
  
  Args:
    reducer: A function for reducing sets of per-edge features to individual
      per-node features.
    name: The module name.
docstr_tok: ["Constructor",".","The","reducer","is","used","for","combining","per-edge","features","(","one","set","of","edge","feature","vectors","per","node",")","to","give","per-node","features","(","one","feature","vector","per","node",")",".","The","reducer","should","take","a","`","Tensor","`","of","edge","features",",","a","`","Tensor","`","of","segment","indices",",","and","a","number","of","nodes",".","It","should","be","invariant","under","permutation","of","edge","features","within","each","segment",".","Examples","of","compatible","reducers","are",":","*","tf.math.unsorted_segment_sum","*","tf.math.unsorted_segment_mean","*","tf.math.unsorted_segment_prod","*","unsorted_segment_min_or_zero","*","unsorted_segment_max_or_zero","Args",":","reducer",":","A","function","for","reducing","sets","of","per-edge","features","to","individual","per-node","features",".","name",":","The","module","name","."]
code: def __init__(
      self, reducer, name="received_edges_to_nodes_aggregator"
  ):
      """Constructor.
  
      The reducer is used for combining per-edge features (one set of edge
      feature vectors per node) to give per-node features (one feature
      vector per node). The reducer should take a `Tensor` of edge features, a
      `Tensor` of segment indices, and a number of nodes. It should be invariant
      under permutation of edge features within each segment.
  
      Examples of compatible reducers are:
      * tf.math.unsorted_segment_sum
      * tf.math.unsorted_segment_mean
      * tf.math.unsorted_segment_prod
      * unsorted_segment_min_or_zero
      * unsorted_segment_max_or_zero
  
      Args:
        reducer: A function for reducing sets of per-edge features to individual
          per-node features.
        name: The module name.
      """
      super(ReceivedEdgesToNodesAggregator, self).__init__(
          use_sent_edges=False, reducer=reducer, name=name
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from graph_nets import _base
  from graph_nets import graphs
  from graph_nets import utils_tf
  import tensorflow
label_desc: Use image node_id 1 to create a new ReceivedEdgesToNodesAggregator object from inherited base classes: _EdgesToNodesAggregator with example: obj = ReceivedEdgesToNodesAggregator(reducer, name)