Hi there
I gather you mean something along the lines like these:
x = Variable(torch.randn(1,32,32,3))
model = nn.Sequential(
                      nn.Conv2d(1,N,kernel=3,stride=2)
                      nn.Conv2d(N,1,kernel=1,stride=1)
                 )
res = model(x)

Is it possible to create our own “layer” to implement this?