Skip to main content

Third-generation Artificial Intelligence SNN Universal Implementation

Project description

SNNGrow

SNNGrow

English | 中文(Chinese)

SNNGrow is a low-power, large-scale spiking neural network training and inference framework. It preserves minimal energy cosumption while providing the superior learning abilities of large spiking neural network.

The vision of SNNGrow is to decode human intelligence and the mechanisms of its evolution, and to provide support for the development of brain-inspired intelligent agents in a future society where humans coexist with artificial intelligence.

Install

SNNGrow offers two installation methods. Running the following command in your terminal will install the project:

Install from PyPI:

pip install snngrow

Install from GitHub:

  1. Download or clone SNNGrow from github
git clone https://github.com/snngrow/snngrow.git
  1. Enter the folder of SNNGrow and install braincog locally with setuptools
cd snngrow
python setup.py install

Quickstart

The code style of SNNGrow is consistent with Pytorch, allowing you to build spiking neural networks with simple code:

from snngrow.base.neuron import LIFNode
import torch

x = torch.randn(2, 3, 5, 5)

net = torch.nn.Sequential(
    nn.Conv2d(1, 32, kernel_size=3),
    LIFNode(),
    nn.Flatten(),
    nn.Linear(54, 1)
)

y = net(x)

Development plans

SNNGrow is still under active development:

  • Large-scale deep spiking neural network training and inference
  • Ultra-low energy consumption sparse spiking neural network computing
  • Brain-inspired learning algorithm support
  • Bionic neural network sparse structure support

Cite

If you are using SNNGrow, please consider citing it as follows:

@misc{SNNGrow,
    title = {SNNGrow},
    author = {Lei, Yunlin and Gao, Lanyu and Yang, Xu and other contributors},
    year = {2024},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/snngrow/snngrow}},
}

About

Utarn Technology Co., Ltd.and Beijing Institute of Technology AETAS Laboratoryare the main developers of SNNGrow.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snngrow-0.1.1a1.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snngrow-0.1.1a1-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file snngrow-0.1.1a1.tar.gz.

File metadata

  • Download URL: snngrow-0.1.1a1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for snngrow-0.1.1a1.tar.gz
Algorithm Hash digest
SHA256 38a333bcfbeda793a2c4733d7d78bcf011d3d93d8a96add7d8f889dc6a3e8fd5
MD5 bc433d72831a4bd863773da38cb59217
BLAKE2b-256 cf24dab788d8d954812c097e220b4815810ec791307e55ee96abf48ba1fe32e2

See more details on using hashes here.

File details

Details for the file snngrow-0.1.1a1-py3-none-any.whl.

File metadata

  • Download URL: snngrow-0.1.1a1-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for snngrow-0.1.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1506c88c37bae2f05059ceadb45c6e2fdd34aa9c503dff6745535084e6a47bf
MD5 16c472c487ab791fe30d5402f14debdf
BLAKE2b-256 ec7b9845bb036a1030292b48106a66db7d3f6258a69f0c6292d6aeb0e0a62126

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page