Interface
- class anemoi.models.interface.AnemoiModelInterface(*, config: DictConfig, n_step_input: int, n_step_output: int, graph_data: HeteroData, statistics: dict, data_indices: dict, metadata: dict, statistics_tendencies: dict | None = None, supporting_arrays: dict | None = None)
Bases:
ModuleAn interface for Anemoi models.
This class is a wrapper around the Anemoi model that includes pre-processing and post-processing steps. It inherits from the PyTorch Module class.
- config
Configuration settings for the model.
- Type:
DictConfig
- graph_data
Graph data for the model.
- Type:
HeteroData
- pre_processors
Pre-processing steps to apply to the data before passing it to the model.
- Type:
- post_processors
Post-processing steps to apply to the model’s output.
- Type:
- model
The underlying Anemoi model.
- Type: