kd.konfig.resolve

kd.konfig.resolve#

kauldron.konfig.resolve(
cfg: ml_collections.config_dict.config_dict.ConfigDict,
*,
freeze: bool = True,
) Any[source]
kauldron.konfig.resolve(
cfg: kauldron.konfig.configdict_proxy._T,
*,
freeze: bool = True,
) kauldron.konfig.configdict_proxy._T

Recursively parses a nested ConfigDict and resolves module constructors.

Parameters:
  • cfg – The config to resolved

  • freeze – If True (default), list are converted to tuple, dict/ConfigDict are converted to immutabledict.

Returns:

The resolved config.