Skip to content

Build · Topology (matrix)

cycle_jumps

Build a simple cycle augmented with regularly spaced bidirectional jumps.

from resdag.layers import ESNLayer

reservoir = ESNLayer(500, feedback_size=3, topology="cycle_jumps", spectral_radius=0.9)
parameter default
cycle_weight 0.1
jump_weight 0.1
jump_size 3

Override any parameter with the tuple spec — topology=("cycle_jumps", {...}) — or pre-configure with get_topology("cycle_jumps", ...). Scaling to a target spectral radius happens after construction, whatever the source.

See also