hxtorch.spiking.modules.sparse_synapse

Implementing SNN modules

Classes

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, func, …)

Sparse synapse layer

SynapseHandle(graded_spikes)

Specialization for HX synapses

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]