Scatter

Scatter#

scatter(values, index[, out_size, aggr, axis])

Default function for performing all scattering operations.

scatter_add(src, index, values)

Scatters values at index within src.

scatter_max(src, index, values)

Scatters values at index within src.

scatter_mean(values, index, out_size[, axis])

Computes the mean of values that are scattered along a specified axis, grouped by index.

scatter_softmax(values, index, out_size[, axis])

Computes the softmax of values that are scattered along a specified axis, grouped by index.

degree(index[, num_nodes, edge_weights])

Counts the number of ocurrences of each node in the given index.

invert_sqrt_degree(degree)

Computes the inverted square root of the degree array.