Skip to content

Batch support for TreeLSTM#33

Open
jinfengr wants to merge 2 commits intodasguptar:masterfrom
jinfengr:master
Open

Batch support for TreeLSTM#33
jinfengr wants to merge 2 commits intodasguptar:masterfrom
jinfengr:master

Conversation

@jinfengr
Copy link
Copy Markdown

Existing implementation doesn't support forward/backward with batch of trees as inputs, which is slow in training and inference. The pull requests support batch operation for TreeLSTM, and reproduces the exact same results as without batch.

To run with batch:

- python main.py --use_batch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant