Closed 17385 closed 3 years ago
How do you achieve this by summing the subtoken vectors to represent the full token? Thanks
Hi @17385 , Thank you for your interest in code2seq!
I am not sure I understand the question. Yes, we sum the subtoken vectors to represent the full token. This is performed here:
https://github.com/tech-srl/code2seq/blob/428b1896a87e0c34af5a407c709c56047ec99a07/model.py#L531-L532
Best, Uri
Okay, I get it
How do you achieve this by summing the subtoken vectors to represent the full token? Thanks