adac.json_to_flamo#
- adac.json_to_flamo(config: dict[str, Any], *, nfft: int = 65536, alias_decay_db: float = 0.0, device: str = 'cpu') Any[source]#
reconstruct a flamo model from a json config dict.
the config dict is the output of flamo_to_json(). the returned model has the same topology and parameter values as the original.
constructor arguments for each module are read from the optional “flamo” metadata key. when absent, sensible defaults are inferred from parameter shapes and channel counts.
- Parameters:
- Returns:
model – reconstructed Shell, Series, Parallel, Recursion, or leaf module.
- Return type:
flamo module