In convolutional neural networks (CNN), 1D and 2D filters are not 1 and 2-dimensional. This description is for description.
In your example, each 1D filter is actually an Lx50 filter, where L is the filter length parameter. Convolution is performed in only one dimension. Perhaps this is called 1D. Thus, when properly filled, each convolution of the 1D filter gives a 400 × 1 vector. The Convolution1D layer will eventually output the 400 * nb_filter .
pyan
source share