What is the use of asterisk when parsing the inputs to nn.Module?
x = torch.ones((1,4,5,6))

m = nn.Identity()

print(x.shape, m(x).shape,m(*x).shape)


This gave me

torch.Size([1, 4, 5, 6]) torch.Size([1, 4, 5, 6]) torch.Size([4, 5, 6])

Why does it squeeze batch dimension in 3d case?