JuanFMontesinos:

x = x.view(-1, 12, 1)


Ooh I am sorry it is 32 I modified it.
my data is recorded from a signal that has 12 signals (sensors) at the same time, for example, I have a hat that contains 12 sensors in the hat that recording some kinds of neurons in the head.