Welcome to PySNN’s documentation!
Welcome to PySNN’s documentation!¶
PySNN is a spiking neural network (SNN) framework written on top of PyTorch for efficient simulation of SNNs both on CPU and GPU. The framework is intended for with correlation based learning methods. The library adheres to the highly modular and dynamic design of PyTorch, and does not require its user to learn a new framework like when using BindsNet.
This framework’s power lies in the ease of defining and mixing new Neuron and Connection objects that seamlessly work together, even different versions, in a single network.
PySNN is designed to mostly provide low level objects to its user that can be combined and mixed. The biggest difference with PyTorch is that a network now consists of two types of modules, instead of the single nn.Module in regular PyTorch. These new modules are the pysnn.Neuron and pysnn.Connection.