tglite.op.src_scatter

tglite.op.src_scatter(blk: TBlock, data: Tensor, op='sum') Tensor

Aggregates the features of the source node indices in TBlock, using the specified aggregation operation (‘sum’ or ‘mean’).

Parameters:
  • blk

  • data

  • op