fixed a bug in size() and added a similar getattr method to depth()
fixed a bug in size() and added a similar getattr method to depth()

dasguptar/treelstm.pytorch,dasguptar/treelstm.pytorch,dasguptar/treelstm.pytorch