Convolution 1d and simple function

self.conv1_1 = nn.Conv1d(1, 150, 5,padding=(kernel_size // 2))

Should do the trick, then use it in the forward function. For the parameters take a look at the doc.
I should do a github for the implementation I did.