You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TreeGen learns by predicting the rules from the target program. Thus, I assume you make the target program into an AST and in that process you get a sequence (that is padded) indicating which rule was used. In particular to do that you need to decide on an ordering for the rules. Did you use DFS, BFS or something else for that? In what part of the code are you doing that? The code seems hard to follow due to the Profilers...perhaps it was only meant for you to use.
Thanks for your time!
The text was updated successfully, but these errors were encountered:
brando90
changed the title
How is the input vector for TreeGen generated?
How is the target vector for program rules in TreeGen generated for training?
Jun 22, 2021
brando90
changed the title
How is the target vector for program rules in TreeGen generated for training?
How is the target vector (program rules sequence) in TreeGen created during training?
Jun 22, 2021
TreeGen learns by predicting the rules from the target program. Thus, I assume you make the target program into an AST and in that process you get a sequence (that is padded) indicating which rule was used. In particular to do that you need to decide on an ordering for the rules. Did you use DFS, BFS or something else for that? In what part of the code are you doing that? The code seems hard to follow due to the Profilers...perhaps it was only meant for you to use.
Thanks for your time!
The text was updated successfully, but these errors were encountered: