How is the spectralConvolution1dLayer forward computation process performed
Mostrar comentarios más antiguos
spectralConvolution1dLayer performs convolution on 1-D input using frequency domain transformations. The layer convolves the input by using the frequency domain representation, where convolution becomes multiplication via the Fourier theorem. I want to know how the spectral convolution is performed when the 1-D input is "CBT" dlarray and the weights is NumModes-by-InputSize-by-HiddenSize dlarray.
Respuestas (1)
According to the doc you referenced, the convolution is performed with respect to the time dimension in that case,
For time series and vector sequence input (data with three dimensions corresponding to the channels, observations, and time steps), the layer convolves over the time dimension.
3 comentarios
Chuguang Pan
el 26 de Jun. de 2026 a las 3:28
Editada: Torsten
el 26 de Jun. de 2026 a las 15:18
Matt J
el 26 de Jun. de 2026 a las 15:14
I want to know the internal computation details
Like what? The documentation tells you it's an FFT-based convolution. What else is there to know?
Chuguang Pan
el 27 de Jun. de 2026 a las 2:12
Categorías
Más información sobre Image Data Workflows en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!