So if each sensor provide different info you will have a Bx12xT input.
You have to find the proper T depending on the sampling rate of each sensor. This is, how many elements of each signal do you want to input to the network. You can pass the entire signal, you can cut the signal int N elements etcetera… Then, adapt the code. self.fc1 = nn.Linear(32*P,256) This P will vary depending on your input size.
(what do you need x = x.view(-1, 12, 32) for?)