Hi,
In one dimensional convolution, I think tuple is incorrect. Why? because you are dealing with 1 dimension (1, 1) means stride in direction X and Y. Just specify int, I think that might fix your problem.