xnn.gnn.fast.megnet.set2set_function#
- xnn.gnn.fast.megnet.set2set_function(steps, layers)[source]#
f(x, *weights, index, per_structure): Set2Set with the LSTM cell written out.The weights are those of
torch.nn.LSTMper layer (weight_ih,weight_hh,bias_ih,bias_hh);per_structureis any(B, 1)column (its rows giveB).