spectralConvolution1dLayer
Description
A 1-D spectral convolutional layer 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.
The dimension that the layer convolves over depends on the layer input:
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.
For 1-D image input (data with three dimensions corresponding to the spatial pixels, channels, and observations), the layer convolves over the spatial dimension.
For 1-D image sequence input (data with four dimensions corresponding to the spatial pixels, channels, observations, and time steps), the layer convolves over the spatial dimension.
Creation
Syntax
Description
creates a 1-D spectral convolutional layer and sets the layer = spectralConvolution1dLayer(numModes,hiddenSize)NumModes and
HiddenSizes properties.
also specifies options using one or more name-value arguments. For example,
layer = spectralConvolution1dLayer(numModes,hiddenSize,Name=Value)Name="spec" specifies that the layer has the name
"spec".
Input Arguments
Name-Value Arguments
Properties
Examples
Algorithms
References
[1] Li, Zongyi, Nikola Kovachki, Kamyar Azizzadenesheli, Burigede Liu, Kaushik Bhattacharya, Andrew Stuart, and Anima Anandkumar. "Fourier Neural Operator for Parametric Partial Differential Equations." arXiv, May 17, 2021. https://doi.org/10.48550/arXiv.2010.08895.
[2] Glorot, Xavier, and Yoshua Bengio. "Understanding the Difficulty of Training Deep Feedforward Neural Networks." In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, 249–356. Sardinia, Italy: AISTATS, 2010. https://proceedings.mlr.press/v9/glorot10a/glorot10a.pdf
[3] He, Kaiming, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. "Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification." In 2015 IEEE International Conference on Computer Vision (ICCV), 1026–34. Santiago, Chile: IEEE, 2015. https://doi.org/10.1109/ICCV.2015.123
Extended Capabilities
Version History
Introduced in R2026a
See Also
trainingOptions | trainnet | dlnetwork | spectralConvolution2dLayer | spectralConvolution3dLayer
Topics
- Solve PDE Using Fourier Neural Operator
- Train Neural ODE Network
- Dynamical System Modeling Using Neural ODE
- Train Neural ODE Network with Control Input
- Initialize Learnable Parameters for Model Function
- Custom Training Loop Model Loss Functions
- Custom Training Loops
- Specify Training Options in Custom Training Loop
- List of Functions with dlarray Support
