The posted code creates a shape mismatch again using:
model = timeSeriesConv(22, 313, kernel_size=2, k=3).cuda()
x = torch.randn(1, 22, 313).cuda()
output = model(x)
> RuntimeError: size mismatch, m1: [1 x 20526], m2: [20394 x 20658]