-
Notifications
You must be signed in to change notification settings - Fork 2
SynapticMesh
Raul Montoya Cardenas edited this page Jul 29, 2026
·
2 revisions

Generated with Grok Build: Grok 4.5 · xAI Imagine (/imagine)
Module: src/mesh.rs — primary orchestrator.
let mesh = SynapticMesh::new(graph);
let mesh = SynapticMesh::with_max_delay(graph, max_delay); // headroom overrideOwns: SynapticGraph + SpikeDelayBuffer + tick counter.
// Binary spikes this tick
let currents: Vec<f32> = mesh.propagate(&spikes)?.to_vec(); // length N
// Graded activations
let currents = mesh.propagate_graded(&activations)?;| Method | Input | Output |
|---|---|---|
propagate |
&[bool] length N |
Vec<f32> currents |
propagate_graded |
&[f32] length N |
Vec<f32> currents |
One-hop per call: schedules deliveries from this tick’s sources; returned vector is what arrives now (including delayed events from earlier ticks). Multi-hop feed-forward tests re-threshold currents into spikes across ticks.
| Method | Role |
|---|---|
tick() |
Current tick |
neuron_count() / synapse_count()
|
Sizes |
sparsity() / mean_degree() / max_delay()
|
Stats |
graph() |
Borrow topology |
reset() |
Clear delay state / tick |
to_gpu_arrays() |
Export CSR-ish arrays for device consumers |
Last updated: July 29, 2026
Updated by: Grok Build: Grok 4.5
Package tip reference: 1486191 (main)
Devin DeepWiki: commit 14861916 · synaptic-mesh