Build · Topology (matrix)
fast_spectral_initialization¶
Build a recurrent matrix at a target spectral radius without eigvals.
from resdag.layers import ESNLayer
reservoir = ESNLayer(500, feedback_size=3, topology="fast_spectral_initialization", spectral_radius=0.9)
| parameter | default |
|---|---|
spectral_radius |
0.9 |
Override any parameter with the tuple spec — topology=("fast_spectral_initialization", {...}) —
or pre-configure with get_topology("fast_spectral_initialization", ...). Scaling to a target
spectral radius happens after construction, whatever the source.
See also¶
- Initialization — every way to specify structure
- Reference — the registry API