Skip to main content

Crate feagi_npu_plasticity

Crate feagi_npu_plasticity 

Source
Expand description

§FEAGI Plasticity Module

This crate implements synaptic plasticity algorithms for FEAGI:

  • STDP (Spike-Timing-Dependent Plasticity)
  • Memory formation with pattern detection
  • Memory neuron lifecycle management
  • Neuron ID allocation system

§Architecture

  • High-performance Rust implementation
  • SIMD-friendly data structures
  • Thread-safe operations
  • RTOS-compatible design

Re-exports§

pub use executor::AsyncPlasticityExecutor;
pub use executor::PlasticityExecutor;
pub use memory_neuron_array::MemoryNeuronArray;
pub use memory_neuron_array::MemoryNeuronLifecycleConfig;
pub use memory_neuron_array::MemoryNeuronStats;
pub use memory_stats_cache::create_memory_stats_cache;
pub use memory_stats_cache::get_area_stats;
pub use memory_stats_cache::get_stats_snapshot;
pub use memory_stats_cache::init_memory_area;
pub use memory_stats_cache::on_neuron_created;
pub use memory_stats_cache::on_neuron_deleted;
pub use memory_stats_cache::remove_memory_area;
pub use memory_stats_cache::MemoryAreaStats;
pub use memory_stats_cache::MemoryStatsCache;
pub use neuron_id_manager::AllocationStats;
pub use neuron_id_manager::NeuronIdManager;
pub use neuron_id_manager::NeuronType;
pub use pattern_detector::BatchPatternDetector;
pub use pattern_detector::PatternConfig;
pub use pattern_detector::PatternDetector;
pub use pattern_detector::TemporalPattern;
pub use service::PlasticityCommand;
pub use service::PlasticityConfig;
pub use service::PlasticityService;
pub use service::ReplayFrame;
pub use stdp::compute_activity_factors;
pub use stdp::compute_timing_factors;
pub use stdp::STDPConfig;

Modules§

executor
Plasticity Executor Abstraction Layer
memory_neuron_array
Memory Neuron Array - Structure of Arrays for memory neurons with lifecycle management
memory_stats_cache
Global memory area statistics cache
neuron_id_manager
Neuron ID allocation system for memory and regular neurons
pattern_detector
High-performance temporal pattern detection using native HashSets
service
Plasticity Service - orchestrates STDP and memory formation
stdp
STDP (Spike-Timing-Dependent Plasticity) computation
stdp_core
Pure STDP computation (platform-agnostic, no_std compatible)

Constants§

VERSION
Crate version from Cargo.toml