How to bulid a multi-path CNN block?

Hello everyone~ I am kind of new to pytorch. I want to block a multi-path CNN which contains several blocks. Each block has several path to go throngh different number of layers. I am wondering how to achieve this. Thanks.