yunshengb / SimGNN

146 stars 33 forks source link

about the size of input #4

Closed marasilence closed 5 years ago

marasilence commented 5 years ago

Hello For the graphs with different size, can the Neural Tensor Network ensure the output with same size? if my graphs doesn't have any node features, and they have different size, can this model work fine ?

yunshengb commented 5 years ago

Yes. The model is invariant to the number of nodes/edges of graphs in the dataset, even when the graphs do not have any node features. In that case, the node feature encoder could be set to constant, meaning every node has the same initial representation.