Take elementwise maximum over all the values of node field
The tensor obtained.
If graph is a
BatchedDGLGraphobject, a stacked tensor is returned instead, i.e. having an extra first dimension. Each row of the stacked tensor contains the readout result of corresponding example in the batch. If an example has no nodes, a zero tensor with the same shape is returned at the corresponding row.