class_docstr: Agregates sent or received edges into the corresponding nodes.
class_docstr_tok: ["Agregates","sent","or","received","edges","into","the","corresponding","nodes","."]
code: def __init__(
      self,
      reducer,
      use_sent_edges=False,
      name="edges_to_nodes_aggregator",
  ):
      super(_EdgesToNodesAggregator, self).__init__(name=name)
      self._reducer = reducer
      self._use_sent_edges = use_sent_edges
  
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 _EdgesToNodesAggregator object from inherited base classes: _base with example: obj = _EdgesToNodesAggregator(reducer, use_sent_edges, name)