I want to have a CNN architecture with the below pipeline:

DeepInsightArchitecture694×253 80.4 KB

I’ve done normal CNN using PyTorch before. Can someone please suggest if there’s a feature in PyTorch that let’s me easily split as above?
Thanks so much in advance.
@ptrblck Please help