Cynwell / Text-Level-GNN

Text Level Graph Neural Network for Text Classification
Apache License 2.0
46 stars 13 forks source link

build_public_edge_mask #5

Open lyzf opened 2 years ago

lyzf commented 2 years ago

image The code may have a problem. node set is a whole nodes list of a sentence, but to_node is a neighbor of one node. Can you explain the operation? edge_stat[node_set, to_node] += 1