mindscience.models
GraphCast Models
The GraphCast is based on graph neural networks and a novel high-resolution multi-scale mesh representation autoregressive model. |
Attention Modules
Attention implementation base class |
|
Multi Head Attention proposed in Attention Is All You Need. |
|
TransformerBlock comprises a MultiHeadAttention and a FeedForward layer. |
Vision Transformer (ViT)
This module based on VisionTransformer backbone which including encoder, decoding_embedding, decoder and dense layer. |
Activation Functions
Gets the activation function. |
|
Sin rectified Linear Unit activation function. |
Basic Blocks
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). |
|
A sequential container of the dense layers, dense layers are added to the container sequentially. |
|
Scale the input value to specified region based on \((x_i - input\_center)*input\_scale\) |
|
The LinearBlock. |
|
The multi-scale fully conneted network. |
|
The ResBlock of dense layer. |
UNet2D
The 2-dimensional U-Net model. |
Mask Layers
Masked layer normalization. |
Fourier Neural Operators (FNO)
The 1D Fourier Neural Operator, which usually contains a Lifting Layer, a Fourier Block Layer and a Projection Layer. |
|
The 2D Fourier Neural Operator, which usually contains a Lifting Layer, a Fourier Block Layer and a Projection Layer. |
|
The 3D Fourier Neural Operator, which usually contains a Lifting Layer, a Fourier Block Layer and a Projection Layer. |
|
The FNOBlock, which usually accompanied by a Lifting Layer ahead and a Projection Layer behind, is a part of Fourier Neural Operator. |
Fast Fourier Neural Operators (FFNO)
The FFNO base class, which usually contains a Lifting Layer, a Factorized Fourier Block Layer and a Projection Layer. |
|
The 1D Factorized Fourier Neural Operator, which usually contains a Lifting Layer, a Factorized Fourier Block Layer and a Projection Layer. |
|
The 2D Factorized Fourier Neural Operator, which usually contains a Lifting Layer, a Factorized Fourier Block Layer and a Projection Layer. |
|
The 3D Factorized Fourier Neural Operator, which usually contains a Lifting Layer, a Factorized Fourier Block Layer and a Projection Layer. |
|
The FFNOBlock, which usually accompanied by a Lifting Layer ahead and a Projection Layer behind, is a part of Factorized Fourier Neural Operator. |