MCPcopy Create free account

hub / github.com/198808xc/Pangu-Weather / functions

Functions22 in github.com/198808xc/Pangu-Weather

↓ 1 callersMethod_construct_index
This function construct the position index to reuse symmetrical parameters of the position bias
pseudocode.py:490
FunctionInference
Inference code, describing the algorithm of inference using models with different lead times. PanguModel24, PanguModel6, PanguModel3 and PanguMode
pseudocode.py:58
FunctionPerlinNoise
Generate random Perlin noise: we follow https://github.com/pvigier/perlin-numpy/ to calculate the perlin noise.
pseudocode.py:585
FunctionTrain
Training code
pseudocode.py:151
Method__init__
(self)
pseudocode.py:187
Method__init__
Patch embedding operation
pseudocode.py:243
Method__init__
Patch recovery operation
pseudocode.py:275
Method__init__
Down-sampling operation
pseudocode.py:297
Method__init__
Up-sampling operation
pseudocode.py:327
Method__init__
Basic layer of our network, contains 2 or 6 blocks
pseudocode.py:364
Method__init__
3D transformer block with Earth-Specific bias and window attention, see https://github.com/microsoft/Swin-Transformer for the official imp
pseudocode.py:383
Method__init__
3D window attention with the Earth-Specific bias, see https://github.com/microsoft/Swin-Transformer for the official implementation of 2D
pseudocode.py:456
Method__init__
MLP layers, same as most vision transformer architectures.
pseudocode.py:570
Methodforward
Backbone architecture
pseudocode.py:207
Methodforward
(self, input, input_surface)
pseudocode.py:252
Methodforward
(self, x, Z, H, W)
pseudocode.py:281
Methodforward
(self, x, Z, H, W)
pseudocode.py:303
Methodforward
(self, x)
pseudocode.py:338
Methodforward
(self, x, Z, H, W)
pseudocode.py:373
Methodforward
(self, x, Z, H, W, roll)
pseudocode.py:399
Methodforward
(self, x, mask)
pseudocode.py:524
Methodforward
(self, x)
pseudocode.py:577