Dear friends 
I have a tensor with the dimensions of x  = torch.Size([128, 99, 8, 31]).
I need to multiply the second position ‘channels’ with itself to get x  = torch.Size([128, (99 * 99 ), 8, 31])  =  torch.Size([128, 9801, 8, 31]).
Is this logically accepted, and how to do it?
Also
I have a tensor with the dimnsions of y = torch.Size([128, 1,  99,  99]).
I need to replace the third position dimension (99) with (1), to get y = torch.Size([128, 1,  1,  99]). how I can do that?
I have tried tensor.view and tensor.reshape but it didn’t work with me as I expect.