Hello there,
I am trying to summarize the graph by simply taking the average of the node hidden states after “apply_nodes()” and storing the hidden states to the batch graph object.
However, the gradients during the backpropagation phase seem to be zero regarding the node encoders. May I know if dgl.mean_nodes() would break the computational graph, please?
BTW, Is there a good way to summarize the individual graphs in the batch_graph object?
Thanks!