My problem is that I want to apply a linear projection, followed by batch normalization and ReLU but I don't know pytorch good enough to apply it.
My input data are features for 1024 datapoints with dimension 10x10 so (16, 1024, 10, 10) while 16 is the batch size. I want to project that 10x10 feature Matrix to a vector with a length of say 32 so my output is (16, 1024, 32). How to tackle this? I found This Question which looks like what I need but I get an error saying 4 dimensional input is not supported in bmm.