Build · Topology (graph)
complete¶
Generates a complete (undirected) graph of n nodes.
from resdag.layers import ESNLayer
reservoir = ESNLayer(500, feedback_size=3, topology="complete", spectral_radius=0.9)
| parameter | default |
|---|---|
self_loops |
False |
random_weights |
True |
Override any parameter with the tuple spec — topology=("complete", {...}) —
or pre-configure with get_topology("complete", ...). Scaling to a target
spectral radius happens after construction, whatever the source.
See also¶
- Initialization — every way to specify structure
- Reference — the registry API
