-
Encoder: Graph2Seq
-
Dataset :
- Input : Graph (Adjacency matrix, list of operation)
- output : sequence
For graph G,
- Create one virtual node called supernode S.
We define embedding(encoded sequence) of G as the node embedding of supernode S
Add edges from every node in G to Supernode S. - Expand G into sequence.(Follow semiNAS paper method)
- Loop node embedding : aggregate neighbor nodes.(Follow Graph2Seq paper method)
- Node embedding of supernode S at the last step is an embedding(encoded sequence) of G
- input: sequence
- ouput : Graph (Adjacency matrix, list of operation)