Interface
- class anemoi.models.interface.AnemoiModelInterface(*, config: DotDict, graph_data: HeteroData, statistics: dict, data_indices: dict, metadata: dict, supporting_arrays: dict = None)
Bases:
Module
An 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:
DotDict
- 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: