Hi there,
Sorry for the stupid and elementary question!
I am totally new to Python and PyTorch.
My question is that I want to multiply a [128,10,512] tensor by a tensor with the length of 10 such that the final output to be a [128*512] tensor. I know how to do that using for loops. However, I am wondering whether there is a direct PyTorch command in this regard.
Thank you in advance for your kind help