Solved by tom in post #2 
              
              
                a = torch.arange(160).view(1, 16, 10)
tmp = a[0].unfold(1, 6, 1)[:,:4,::2].permute(2, 0, 1)
print(tmp)

Not that I’d know why.  
Best regards 
Thomas