Hi,
My question is this: Suppose I have a tensor a = torch.randn(3, 4, 16, 16), and I want to flatten along the first two dimension to make its shape to be (1, 12, 16, 16).
Now I can only operate like this: size=[1, -1]+list(a.size()[2:]; a = a.view(size) which I believe is not a pytorch way to do it. How could I do it in a smarter way?