Skip to content

igl.config

Frozen dataclass configurations composed via IGLConfig.

igl.config.EncoderConfig dataclass

MLP encoder configuration. Fields mirror :class:igl.MLPEncoder.

igl.config.KernelConfig dataclass

Green-kernel configuration. Fields mirror :class:igl.GreenKernel.

igl.config.MatryoshkaConfig dataclass

Matryoshka VP training configuration.

igl.config.IGLConfig dataclass

Top-level IGL configuration composing the per-component configs.

When spectral is set, the spectral kernel replaces the local Green kernel; kernel is then ignored. When spectral is None (default), the local kernel is used.

from_dict(data) classmethod

Construct from a previously-serialised dict.

Coerces hidden (list → tuple), sigma_log_range (list → tuple), and string-valued enum fields back to their canonical types via :meth:EncoderConfig.__post_init__ and friends.

to_dict()

Serialise to a plain dict (suitable for JSON / TOML round-trips).

StrEnum members serialise to their underlying string; tuples serialise to lists for JSON friendliness.