Equation (18) of the paper shows that children are also concatenated when forming the updated semantic vector.
![image](https://user-images.githubusercontent.com/12699327/38326860-7d233c7c-380c-11e8-9a99-386f762c8cbb.png)
However, the code at this line only concatenates pi and ei, as far as I can tell. What about the children? Am I missing something?
|
tokens_output = LReLu(tf.tensordot(tf.concat([tokens_sem, tokens_output_], 2), w_comb_s, [[2], [0]]) + b_comb_s) |
Thanks!
Elisa