treelstm.pytorch icon indicating copy to clipboard operation
treelstm.pytorch copied to clipboard

Batch support for TreeLSTM

Open jinfengr opened this issue 5 years ago • 0 comments

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

jinfengr avatar Jan 20 '19 04:01 jinfengr