Build · Topology (graph)
simple_cycle_jumps¶
Generate a directed cycle with bidirectional jumps.
from resdag.layers import ESNLayer
reservoir = ESNLayer(500, feedback_size=3, recurrent_initializer='simple_cycle_jumps', spectral_radius=None, seed=7)
| parameter | default |
|---|---|
jump_length |
1 |
r_c |
1.0 |
r_l |
0.5 |
Override parameters with recurrent_initializer=("simple_cycle_jumps", {...}) or
pre-configure with get_recurrent_initializer("simple_cycle_jumps", ...).
The existing topology= spelling and get_topology() also work.
This builder preserves its native spectrum/scale by default. Use its parameters to control that scale, or explicitly configure get_recurrent_initializer(..., rescale=True) to allow an outer radius rescale.
See also¶
- Initialization — every way to specify structure
- Reference — the registry API
