neuburn 0.1.0

Spiking neural network framework on top of Burn — Rust-native alternative to snntorch
Documentation
  • Coverage
  • 61.94%
    83 out of 134 items documented0 out of 17 items with examples
  • Size
  • Source code size: 194.19 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.63 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2m 38s Average build duration of successful builds.
  • all releases: 2m 38s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • CntrlX/neuburn
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CntrlX

neuBurn

Spiking neural network (SNN) framework built on Burn — a Rust-native alternative to snntorch.

Features

  • Neuron models: Leaky (LIF), Synaptic, Alpha, RLeaky, RSynaptic, Lapicque
  • Reset modes: Subtract, Zero, None (snntorch-style)
  • Learnable membrane decay (β) and optional learnable threshold
  • Surrogate gradients: FastSigmoid, Sigmoid, StraightThrough, ATan
  • Encoding: rate (Poisson), latency, delta
  • Losses: MSE count, CE rate, CE temporal
  • Layers: SpikingConv2d, LeakyParallel, BNTT (BatchNorm through time), SLSTM, KAN-based event-driven blocks

Usage

[dependencies]
neuburn = "0.1"
burn = { version = "0.14", features = ["train"] }
use neuburn::prelude::*;

License

MIT OR Apache-2.0