Files
PINA/pina/model/layers/fourier.py
Dario Coscia 15ecaacb7c Layers and Models update PR
* add residual block
* add test conv and residual block
* modify FFN kwargs
2023-11-17 09:51:29 +01:00

24 lines
532 B
Python

import torch
import torch.nn as nn
from ...utils import check_consistency
class FourierBlock(nn.Module):
"""Fourier block base class. Implementation of a fourier block.
.. seealso::
**Original reference**: Li, Zongyi, et al.
"Fourier neural operator for parametric partial
differential equations." arXiv preprint
arXiv:2010.08895 (2020)
<https://arxiv.org/abs/2010.08895.pdf>`_.
"""
def __init__(self):
super().__init__()
def forward(self, x):
pass