tensorflow / fold

Deep learning with dynamic computation graphs in TensorFlow
Apache License 2.0
1.83k stars 266 forks source link

How to build child-sum tree lstm instead of binary tree lstm ? #81

Open Chissica opened 7 years ago

Chissica commented 7 years ago

Could you give a sample of Child-Sum Tree LSTM proposed by Stanford in 2015. The sample used in fold is binary tree, so I'm not sure how to convert it to child-sum tree.