Skip to content

Build · Topology (matrix)

band

Build a deterministic banded recurrent matrix of constant weight.

from resdag.layers import ESNLayer

reservoir = ESNLayer(500, feedback_size=3, topology="band", spectral_radius=0.9)
parameter default
weight 0.1
bandwidth 1

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

See also