spikingtorch
Training spiking neural networks using Pytorch
About
spikingtorch is a lightweight package for training deep neural
networks using Pytorch. spikingtorch includes encoders that transform
standard ML datasets into spike trains, and decoders that transform
the output spikes into values that can be used with loss functions in
Pytorch.
spikingtorch implements spiking neural networks and backpropagation
through spikes for leaky integrate and fire neurons.
In addition to the Python package, this repository also implements the methodology and reproduces the results presented in the paper:
Status
spikingtorch is in active development, with more neuron models coming up
soon.
Quick install
Through pypi:
pip install spikingtorch
Acknowledgements
- Threadwork, U.S. Department of Energy Office of Science, Microelectronics Program.
The original implementation was based on reseach funded through Argonne's Laboratory Directed Research and Development program.
Publications
Spikingtorch's backpropagation approach is based on the following work:
Copyright and license
Copyright © 2023, UChicago Argonne, LLC
spikingtorch is distributed under the terms of BSD License. See LICENSE
Metadata
Release files for spikingtorch 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spikingtorch-0.1.3.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spikingtorch-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / spikingtorch-0.1.3.tar.gz
| Download URL | spikingtorch-0.1.3.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a19f573506cc68815911d5423b56f780f5fc8c9c73fac13880173ca1da5d519e
|
|
BLAKE2b-256 checksum How to use checksums |
e5f389d16204c4a4c8448636800ce1af01cc9ea8e9f65315a94c1cb7348aeec3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Release files / spikingtorch-0.1.3-py3-none-any.whl
| Download URL | spikingtorch-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4728a6de4361cd8d14a13912efd3c0500553d82ad66e4a53e4e2e837858e1e4
|
|
BLAKE2b-256 checksum How to use checksums |
948b843a124d96df3a7207b07a29ccf4b9bfe6b8b978722d226ddcd2d3c3e2c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|