phlower.settings.PhlowerModelSetting¶
- class phlower.settings.PhlowerModelSetting(*, inputs, labels=<factory>, fields=<factory>, network)[source]¶
Bases:
BaseModelMethods
check_duplicate_names()get_name_to_dimensions()resolve()Resolve network relationship.
Attributes
model_computed_fieldsConfiguration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
model_extraGet extra fields set during validation.
model_fieldsmodel_fields_setReturns the set of fields that have been explicitly set on this model instance.
settings for input feature values
settings for output feature value
name of variables in simulation field which are treated as constant
define structure of neural network
- Parameters:
inputs (list[ModelIOSetting])
labels (list[ModelIOSetting])
fields (list[ModelIOSetting])
network (GroupModuleSetting)
- fields: list[ModelIOSetting]¶
- name of variables in simulation field which are treated as constant
in calculation.
For example, support matrix for input graph structure.
- inputs: list[ModelIOSetting]¶
settings for input feature values
- labels: list[ModelIOSetting]¶
settings for output feature value
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'frozen': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- network: GroupModuleSetting¶
define structure of neural network