aiaccel.config.resolve_inherit#

aiaccel.config.resolve_inherit(config: DictConfig | ListConfig) DictConfig | ListConfig[source]#

Resolve _inherit_ in config

Merge the dict in _inherit_ into a dict of the same hierarchy. _inherit_ is specified by omegaconf interpolation

Parameters:

config (DictConfig | ListConfig) – The configuration loaded by load_config

Returns:

The configuration without _inherit_

Return type:

DictConfig | ListConfig