Neural Operators API¶
Auto-generated from source — see Neural Operators for narrative descriptions.
AFNO¶
keras_climate.operators.afno.AFNOOperator ¶
AFNOOperator(input_shape=(64, 64, 3), out_channels=3, patch_size=8, embed_dim=256, depth=8, num_blocks=8, mlp_ratio=4.0, name='afno_operator')
Source code in keras_climate/operators/afno.py
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
keras_climate.operators.afno.AFNO2D ¶
AFNO2D(hidden_size, num_blocks=8, sparsity_threshold=0.01, hidden_size_factor=1, **kwargs)
Bases: Layer
Source code in keras_climate/operators/afno.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
keras_climate.operators.afno.AFNOBlock ¶
AFNOBlock(hidden_size, num_blocks=8, mlp_ratio=4.0, sparsity_threshold=0.01, hidden_size_factor=1, **kwargs)
Bases: Layer
Source code in keras_climate/operators/afno.py
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | |