Tree-CNN: from generalization to specialization