hi i want to fuse  features from certain layers in network say resnet 50  and provide that as input to subsequent layers how do i do it.

Extraction of features from desired layers
concat it and give that as input.

Please provide forward method for such kind of fusion…