Skip to content

Build · Topology (matrix)

delay_line

Place weight on a subdiagonal shift places below the diagonal.

delay_line

Connectivity and weight matrix on a small reservoir.
from resdag.layers import ESNLayer

reservoir = ESNLayer(500, feedback_size=3, recurrent_initializer='delay_line', spectral_radius=None, seed=7)
parameter default
weight 0.1
shift 1
dtype torch.float32
device None

Override parameters with recurrent_initializer=("delay_line", {...}) or pre-configure with get_recurrent_initializer("delay_line", ...). The existing topology= spelling and get_topology() also work.

This builder has a zero eigenvalue radius. A nonzero outer radius cannot be obtained by multiplying its weights; control the connection magnitude through the builder's own parameters.

See also