Solved by nabsabs in post #2 
              
              
                Hi, 
I think basic slicing will do the job for you. See this small example below: 
x = torch.Tensor(4,512,512)
print(x.shape)
y = x[:3, :, :]
print(y.shape)