I just tested this network. But I didn’t try 1D version.
I think you should prepare your data at first.
For each iteration, feed the network data.
The network above use conv2d, change it to con1d.
The mask is also should be changed to a vector.
1D is not more complex than 2D problem.