Skip to content

Possible children are not concatenated when forming updated semantic vector #5

@elisaF

Description

@elisaF

Equation (18) of the paper shows that children are also concatenated when forming the updated semantic vector.
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions