Hi,



 Jordan_Howell:

m1: [294473 x 3122], m2: [294473 x 3122]


This is a matrix operation, so, MxN * MxN is not valid. Linear layer needs second dimension in your data as its input channels. So the correct way is:
self.fc1 = nn.Linear(3122, any_arbitrary_number)

A small snippet to understand operation:
x = torch.randn(5, 3)
nn.Linear(3, any_number)(x)  # works fine
nn.Linear(any_number_except_3, any_number)  # fails

Bests