phlower.settings.PhlowerModelSetting¶
- class phlower.settings.PhlowerModelSetting(*, inputs, labels=<factory>, fields=<factory>, network)[source]¶
Bases:
BaseModel
Methods
check_duplicate_names
()get_name_to_dimensions
()resolve
()Resolve network relationship.
Attributes
model_computed_fields
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
model_extra
Get extra fields set during validation.
model_fields
model_fields_set
Returns 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