Skip to content

bmdillon/hls4snn

 
 

Repository files navigation

hls4snn

hls4snn is a fork of hls4ml focused on spiking neural network (SNN) functionality in the PyTorch frontend, while keeping the upstream hls4ml workflow and documentation structure.

What's Different In This Fork

  • Added initial SNN conversion support for PyTorch models using snntorch modules.
  • Added SNN neuron/readout templates and related conversion backend plumbing.
  • Added SNN-focused tests and documentation.

SNN Quick Start

Install SNN development dependencies from this repository:

pip install -r requirements-snn-dev.txt

SNN feature details, supported modules, and behavior notes are documented in:

A demo of the SNN functionality is in:

These take you from building and training a simple SNN in snntorch, to running it through hls4ml and getting Vitis reports. The longer demo also includes optional NeuroBench metrics.

About

SNN fork of hls4ml

Resources

License

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 40.5%
  • C++ 37.9%
  • Jupyter Notebook 18.8%
  • Tcl 1.1%
  • SystemVerilog 0.6%
  • Shell 0.5%
  • Other 0.6%