Add Averaging Neural Operator with tests and a tutorial (#230)
* add Averaging Neural Operator with tests * add backward test * minor changes * doc addition --------- Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
This commit is contained in:
@@ -56,6 +56,7 @@ Models
|
||||
MIONet <models/mionet.rst>
|
||||
FourierIntegralKernel <models/fourier_kernel.rst>
|
||||
FNO <models/fno.rst>
|
||||
AveragingNeuralOperator <models/avno.rst>
|
||||
|
||||
Layers
|
||||
-------------
|
||||
@@ -67,10 +68,10 @@ Layers
|
||||
EnhancedLinear layer <layers/enhanced_linear.rst>
|
||||
Spectral convolution <layers/spectral.rst>
|
||||
Fourier layers <layers/fourier.rst>
|
||||
Averaging layer <layers/avno_layer.rst>
|
||||
Continuous convolution <layers/convolution.rst>
|
||||
Proper Orthogonal Decomposition <layers/pod.rst>
|
||||
Periodic Boundary Condition embeddings <layers/embedding.rst>
|
||||
|
||||
|
||||
Equations and Operators
|
||||
-------------------------
|
||||
|
||||
8
docs/source/_rst/layers/avno_layer.rst
Normal file
8
docs/source/_rst/layers/avno_layer.rst
Normal file
@@ -0,0 +1,8 @@
|
||||
Averaging layers
|
||||
====================
|
||||
.. currentmodule:: pina.model.layers.avno_layer
|
||||
|
||||
.. autoclass:: AVNOBlock
|
||||
:members:
|
||||
:show-inheritance:
|
||||
:noindex:
|
||||
7
docs/source/_rst/models/avno.rst
Normal file
7
docs/source/_rst/models/avno.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
Averaging Neural Operator
|
||||
==============================
|
||||
.. currentmodule:: pina.model.avno
|
||||
|
||||
.. autoclass:: AveragingNeuralOperator
|
||||
:members:
|
||||
:show-inheritance:
|
||||
Reference in New Issue
Block a user