For example, say I have a tensor of size (3,5,8,8):
x = torch.ones(3,5,8,8)

And I want to pad the dimensions by separate padding values: N by 2, C by 1, H by 3, and W by 3.
How can I accomplish this?