Convolution over trees

I’m looking to run convolutional networks over tree structures as in https://arxiv.org/abs/1409.5718 - what’s the best way to do that in DL4J? It’s an unusual scenario because the size and shape of the input structure varies from one example to another, so the design patterns used for convolution over grids, are not applicable.