Build · Topology (graph)
multi_cycle¶
Build a Simple Multi-Cycle Reservoir (SMCR) topology as a NetworkX DiGraph.
from resdag.layers import ESNLayer
reservoir = ESNLayer(500, feedback_size=3, topology="multi_cycle", spectral_radius=0.9)
| parameter | default |
|---|---|
k |
— |
weight |
1.0 |
start_node |
0 |
Override any parameter with the tuple spec — topology=("multi_cycle", {...}) —
or pre-configure with get_topology("multi_cycle", ...). Scaling to a target
spectral radius happens after construction, whatever the source.
See also¶
- Initialization — every way to specify structure
- Reference — the registry API
