Skip to main content

Module network_runner

Module network_runner 

Source
Expand description

High-performance network simulation backend.

Replaces the Python per-neuron loop with Rayon-parallel Rust execution over CSR-stored projections and heterogeneous neuron populations.

Macrosยง

all_variants ๐Ÿ”’
All variant names in one place for the dispatch macros.
dispatch_reset ๐Ÿ”’
dispatch_step ๐Ÿ”’
wrap_2arg_f64 ๐Ÿ”’
Wrapper: multi-input spiking model โ†’ single-input interface. Extra inputs default to 0/false when driven from the network runner.
wrap_3arg ๐Ÿ”’
Wrapper: 3-arg model โ†’ single-input interface.
wrap_graded ๐Ÿ”’
Wrapper: f64-output (rate/graded) โ†’ i32 spike interface via thresholding.
wrap_i32_input ๐Ÿ”’
Wrapper: i32-input model โ†’ f64-input interface.

Structsยง

NetworkRunner
PopulationRunner
ProjectionRunner
CSR-stored synaptic projection with optional axonal delay.
SimResults
WrAlpha
WrAstrocyte
WrCOBALIF
WrCompteWM
WrConePhotoreceptor
WrHayL5
WrInnerHairCell
WrIntegerQIF
WrLoihi2
WrLoihiCUBA
WrOuterHairCell
WrPinskyRinzel
WrRodPhotoreceptor
WrSigmoidRate
WrSpiNNaker2
WrTasteReceptor
WrThresholdLinear
WrTrueNorth
WrTsodyksMarkram
WrTwoCompLIF

Enumsยง

NeuronVariant
Enum dispatch across all neuron models.

Constantsยง

CHUNK_SIZE ๐Ÿ”’

Functionsยง

create_neuron
create_population
Create a population of n identical neurons by model name.
supported_models
List all supported model names.