yao8839836 / text_gcn

Graph Convolutional Networks for Text Classification. AAAI 2019
1.35k stars 434 forks source link

Added compatability changes for tf 2 #123

Open yogeshhk opened 3 years ago

yogeshhk commented 3 years ago

Need to have thorough review of the changes suggested. Need testing to see if these changes are ok on tf 1.x systems also. One change, that is suspicious, is in minimize() where var-list is kept empty. Merge this pull request only if the changes look good on both tf 1.x and tf2.x I have locally tested on tf 2.5