You cannot resize a tensor with 400 elements to 102400 elements.
Depending on your use case, you could repeat the values in the last two dimensions:
x = torch.randn(100, 1, 2, 2)
y = x.repeat(1, 1, 16, 16)