bindsnet_twolayernetwork
A two-layer spiking network from BindsNET: an input layer connected to leaky integrate-and-fire neurons.
Spiking networks · 2,903 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Spiking networks
- Parameters
- 78.4K
- Operations
- 2,903
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- Frontiers in Neuroinformatics (arXiv 2018)
- Cited by
- 287 (as of 22 October 2026)
- Authors
- Hananel Hazan, Daniel J. Saunders, Hassaan Khan and others
- Source
- GitHub: BindsNET/bindsnet
- License
- GPL-3.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m3684
- Graph hash
- 6b218efa92139446a00a1584636af16b892b4ee1158c4a161df5676ea28761ba
- Skeleton hash
- 7bf6e8f8006f2d82d09c9401cdd8e7af532564f5878771c358d30bf425ebd635
- Architecture hash
- cc65e4f277aaa7d54e545135a84a03475e449bb08969e2e2891ba03869dca206
- Diagram SHA-256
- 01953d4b12e34b5eea3ebfbf98b2d7cfaa0fd0c660bc078c1ce5e387184e49f1
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
This model is a two-layer spiking neural network from BindsNET, a Python package for simulating spiking neural networks that is geared towards machine learning and reinforcement learning. BindsNET is built on top of PyTorch, which gives it CPU and GPU computation for large spiking networks.
A BindsNET network is a Network object that coordinates groups of neurons, called Nodes, and the Connections between them. It is not evaluated in a single pass: a run function applies synchronous updates to all network components over a number of time steps. In this model an input layer is connected to a layer of leaky integrate-and-fire (LIF) neurons, two of the neuron types the library implements. When such a neuron reaches its threshold voltage it emits a spike that travels to downstream neurons.
Connection weights can be learned with rules from the biological learning literature, including a variant of spike-timing-dependent plasticity (STDP). A connection can also take a norm argument, a desired sum of weights per target neuron that the network enforces during each run. The library collects network architectures in its models module, which is where this two-layer network is defined.
Key idea. BindsNET is a Python package built on PyTorch for simulating spiking neural networks, geared towards machine learning and reinforcement learning.
- bindsnet
- twolayernetwork
- two layer network
- spiking neural network
- snn
- leaky integrate-and-fire
- lif
- stdp
- spike-timing-dependent plasticity
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{hazan2018bindsnetmachinelearningorientedspiking,
title={BindsNET: A machine learning-oriented spiking neural networks library in Python},
author={Hananel Hazan and Daniel J. Saunders and Hassaan Khan and Darpan T. Sanghavi and Hava T. Siegelmann and Robert Kozma},
year={2018},
eprint={1806.01423},
archivePrefix={arXiv},
primaryClass={cs.NE},
doi={https://doi.org/10.3389/fninf.2018.00089},
url={https://arxiv.org/abs/1806.01423},
}