| Crates.io | feagi-npu-neural |
| lib.rs | feagi-npu-neural |
| version | 0.0.1-beta.4 |
| created_at | 2025-12-23 22:52:34.59051+00 |
| updated_at | 2026-01-25 21:42:27.019126+00 |
| description | Platform-agnostic neural computation: types, algorithms, and neuron models |
| homepage | https://feagi.org |
| repository | https://github.com/feagi/feagi-core |
| max_upload_size | |
| id | 2002500 |
| size | 82,743 |
Platform-agnostic neural dynamics algorithms for FEAGI.
no_std compatible (ESP32, RTOS, WASM)dynamics - LIF neuron updates, leak, threshold checksfiring - Refractory periods, consecutive fire limitsutils - PCG random number generation, excitabilityuse feagi_neural::update_neuron_lif;
let mut potential = 0.5;
let threshold = 1.0;
let leak = 0.1;
let input = 0.6;
let fired = update_neuron_lif(&mut potential, threshold, leak, 0.0, input);
assert!(fired); // 0.5 + 0.6 = 1.1 > 1.0
assert_eq!(potential, 0.0); // Reset after firing
| Platform | Status | Notes |
|---|---|---|
| Desktop | ✅ | Full support |
| ESP32 | ✅ | no_std mode |
| RTOS | ✅ | FreeRTOS, Zephyr |
| WASM | ✅ | Browser, Node.js |
| HPC | ✅ | MPI clusters |
Apache License 2.0