Build · Topology (matrix)
delay_line_backward¶
Build a delay line with an added backward (super-diagonal) connection.
from resdag.layers import ESNLayer
reservoir = ESNLayer(500, feedback_size=3, topology="delay_line_backward", spectral_radius=0.9)
| parameter | default |
|---|---|
weight |
0.1 |
backward_weight |
0.1 |
shift |
1 |
backward_shift |
1 |
Override any parameter with the tuple spec — topology=("delay_line_backward", {...}) —
or pre-configure with get_topology("delay_line_backward", ...). Scaling to a target
spectral radius happens after construction, whatever the source.
See also¶
- Initialization — every way to specify structure
- Reference — the registry API