hxtorch.spiking.modules.sparse_synapse

Implementing SNN modules

Classes

LIFObservables

alias of types.Handle_current_membrane_cadc_membrane_madc_spikes

Parameter([data, requires_grad])

A kind of Tensor that is to be considered a module parameter.

Projection(in_features, out_features, …)

Base class for projections on BSS-2

SparseSynapse(connections, experiment, …)

Sparse synapse layer

SynapseHandle

alias of types.Handle_graded_spikes

Functions

hxtorch.spiking.modules.sparse_synapse.weight_to_connection(*args, **kwargs)

Overloaded function.

  1. weight_to_connection(weight: numpy.ndarray[numpy.int32]) -> list[_pygrenade_vx_network.Projection.Connection]

  2. weight_to_connection(weight: numpy.ndarray[numpy.int32], connections: list[list[int]]) -> list[_pygrenade_vx_network.Projection.Connection]