cstlstm icon indicating copy to clipboard operation
cstlstm copied to clipboard

How to get the embedding for each node w.r.t. their original order.

Open Nicozwy opened this issue 3 years ago • 0 comments

For example, given an input sentence "w1, w2, w3 w4", we feed it to the treeLSTM (ChildSumTreeLSTMEncoder), and get an encoding object. What should I do to obtain the representation r1, r2, r3, r4 for w1, w2, w3, w4, respectively?

Nicozwy avatar Feb 07 '22 03:02 Nicozwy