configurable¶
Bases for all configurable classes in graphnet.
- class graphnet.utilities.config.configurable.Configurable[source]¶
Bases:
ABC
Base class for all configurable classes in graphnet.
Construct Configurable.
- property config: BaseConfig¶
Return configuration to re-create the instance.
- save_config(path)[source]¶
Save Config to path as YAML file.
- Return type:
None
- Parameters:
path (str)
- abstract from_config(source)[source]¶
Construct instance from source configuration.
- Return type:
Any
- Parameters:
source (BaseConfig | str)