containers
Adapters
dataclass
Root configuration class for all adapters across different modes.
Source code in lighter/utils/types/containers.py
Predict
dataclass
Predict mode sub-dataclass for Adapters.
Source code in lighter/utils/types/containers.py
Test
dataclass
Test mode sub-dataclass for Adapters.
Source code in lighter/utils/types/containers.py
Train
dataclass
Train mode sub-dataclass for Adapters.
Source code in lighter/utils/types/containers.py
Val
dataclass
Val mode sub-dataclass for Adapters.
Source code in lighter/utils/types/containers.py
nested(cls)
Decorator to handle nested dataclass creation. Example: