First a bit more context. The input is a timeseries and we want to do signal processing. We sample the signal for 4096 Hz and apparently 10 seconds. Thus the input size of 40960.
Now the size in the 2nd layer (conv1d) is 32 x 40945
What exactly describes 40945 and how do I get this number?
For me, a CNN takes an array (1d) or an image (2d) and apply some stencil/kernel to it, by doing so reduced the dimension. I can’t see why we have a difference of 15 here (40945 vs 40960).
Edit: How do you see the kernel is of size 16?